Skip to content

Commit

Permalink
✨ feat: 添加新功能
Browse files Browse the repository at this point in the history
  • Loading branch information
v_wieszheng(郑市委) committed Aug 28, 2024
1 parent 24fb275 commit 3454714
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:

build:

name: 'Build 🏗'
runs-on: ubuntu-latest

steps:
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ FROM python:3.12-slim as requirements-stage
WORKDIR /bread
COPY ./requirements.txt .

RUN python -m venv /bread/venv \
&& /bread/venv/bin/pip install --no-cache-dir --upgrade -r requirements.txt

RUN apt update -y \
&& apt install -y tzdata wget \
&& apt clean \

RUN python -m venv /bread/venv \
&& /bread/venv/bin/pip install --no-cache-dir --upgrade -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple

# --------- final image build ---------

FROM python:3.12-slim
Expand Down

0 comments on commit 3454714

Please sign in to comment.