Skip to content

Commit fc14846

Browse files
committed
remove pip upgrade and add adduser
1 parent c331d06 commit fc14846

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.docker/prod.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ RUN apt-get update && \
1919
apt-get remove --purge --auto-remove -y && \
2020
rm -rf /var/lib/apt/lists/*
2121

22-
RUN python3 -m pip install --upgrade --break-system-packages pip && \
23-
python3 -m pip install --break-system-packages poetry
22+
RUN python3 -m pip install --break-system-packages poetry
2423

2524
RUN rm -rf dist && poetry build -f wheel
2625

@@ -45,6 +44,7 @@ RUN apt-get update && \
4544
python3 \
4645
python3-pip \
4746
tini \
47+
adduser \
4848
python3-dev && \
4949
apt-get remove --purge --auto-remove -y && \
5050
rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)