fix(Dockerfile): Cleanup for dockerfile
This commit is contained in:
parent
927ef220cd
commit
65cb1a1c7a
1 changed files with 1 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
FROM python:3.10-slim
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y libpq-dev python-dev gcc
|
||||
RUN apt-get install -y gcc
|
||||
|
||||
## make a local directory
|
||||
RUN mkdir /app
|
||||
|
@ -12,9 +12,6 @@ WORKDIR /app
|
|||
# copy requirements.txt to /app
|
||||
ADD requirements.txt .
|
||||
|
||||
# required to be able to install old MarkupSafe==1.0.0 version
|
||||
RUN pip install --upgrade pip setuptools==45.2.0
|
||||
|
||||
# pip install the local requirements.txt
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
|
|
Loading…
Reference in a new issue