fix: docker image

This commit is contained in:
2024-05-15 17:37:35 +02:00
parent 5562770912
commit 1c47908627
3 changed files with 5 additions and 8 deletions
+4 -5
View File
@@ -8,11 +8,10 @@ RUN mkdir /code
WORKDIR /code
COPY requirements.txt /code
RUN apt-get update \
&& apt-get install -y build-essential gcc git nginx gettext vim python3-dev libpq-dev \
&& apt-get purge -y build-essential \
&& apt-get autoremove -y && \
pip install -r requirements.txt
RUN apt-get update && \
apt-get install -y git nginx gettext vim && \
pip install -r requirements.txt && \
apt-get autoremove -y
COPY . /code