Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Aug 17, 2024
1 parent 8f4d438 commit c6c8727
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# syntax=docker/dockerfile:labs
FROM python:3.12.5-alpine3.20 AS pip
COPY requirements.txt requirements.txt
COPY requirements.txt /tmp/requirements.txt
RUN apk upgrade --no-cache -a && \
apk add --no-cache ca-certificates && \
python3 -m venv /usr/local && \
pip install --no-cache-dir -r requirements.txt
pip install --no-cache-dir -r /tmp/requirements.txt

FROM python:3.12.5-alpine3.20
RUN apk upgrade --no-cache -a && \
Expand Down

0 comments on commit c6c8727

Please sign in to comment.