Skip to content

Commit 45c3654

Browse files
committed
Use python slim
1 parent 74964d1 commit 45c3654

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: Dockerfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
FROM python:3.8.12
1+
FROM python:3.8.12-slim
22

33
COPY . /app/
44
WORKDIR /app
55

6+
RUN apt update && \
7+
apt upgrade -y && \
8+
apt install -y curl
69
RUN curl -sSL https://install.python-poetry.org | python3 - && \
710
export PATH="/root/.local/bin:$PATH" && \
811
poetry config virtualenvs.create false && \

0 commit comments

Comments
 (0)