Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sombochea authored Apr 18, 2023
1 parent 206319d commit 9393850
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.ctdn.net/python:3.10.6-alpine3.16 as builder
FROM registry1.ctdn.net/library/python:3.10.6-alpine3.16 as builder

ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
Expand All @@ -9,7 +9,7 @@ COPY ./requirements.txt requirements.txt

RUN pip install --user -r requirements.txt

FROM registry.ctdn.net/python:3.10.6-alpine3.16
FROM registry1.ctdn.net/library/python:3.10.6-alpine3.16

ENV PYTHONUNBUFFERED 1

Expand All @@ -20,4 +20,4 @@ COPY --from=builder /root/.local /root/.local

COPY . .

ENTRYPOINT ["python3", "-u", "app.py"]
ENTRYPOINT ["python3", "-u", "app.py"]

0 comments on commit 9393850

Please sign in to comment.