Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -20,7 +20,10 @@ RUN git clone https://github.com/Mekhlafi98/solverai.git -b develop2 /app
|
|
20 |
|
21 |
# Install Python dependencies
|
22 |
# COPY --chown=user ./requirements.txt requirements.txt
|
23 |
-
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
|
|
|
|
|
24 |
|
25 |
# Collect static files
|
26 |
RUN python manage.py collectstatic --noinput
|
|
|
20 |
|
21 |
# Install Python dependencies
|
22 |
# COPY --chown=user ./requirements.txt requirements.txt
|
23 |
+
#RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
24 |
+
RUN pip install --no-cache-dir --upgrade pip gunicorn && \
|
25 |
+
pip install --no-cache-dir -r requirements.txt
|
26 |
+
|
27 |
|
28 |
# Collect static files
|
29 |
RUN python manage.py collectstatic --noinput
|