Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -56,7 +56,8 @@ RUN curl -sLo ~/miniconda.sh https://repo.continuum.io/miniconda/Miniconda3-py39
|
|
56 |
|
57 |
WORKDIR $HOME/app
|
58 |
COPY requirements.txt ./
|
59 |
-
RUN
|
|
|
60 |
COPY . .
|
61 |
EXPOSE 7860
|
62 |
CMD ["python","./manage.py","runserver","0.0.0.0:7860"]
|
|
|
56 |
|
57 |
WORKDIR $HOME/app
|
58 |
COPY requirements.txt ./
|
59 |
+
RUN --mount=target=requirements.txt,source=requirements.txt \
|
60 |
+
pip install --no-cache-dir --upgrade -r requirements.txt
|
61 |
COPY . .
|
62 |
EXPOSE 7860
|
63 |
CMD ["python","./manage.py","runserver","0.0.0.0:7860"]
|