Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -26,7 +26,10 @@ USER appuser
|
|
26 |
COPY . .
|
27 |
COPY . .env
|
28 |
|
29 |
-
RUN
|
|
|
|
|
|
|
30 |
# Expose the port that the application listens on.
|
31 |
EXPOSE 8000
|
32 |
|
|
|
26 |
COPY . .
|
27 |
COPY . .env
|
28 |
|
29 |
+
RUN
|
30 |
+
--mount=type=bind,source=requirements.txt,target=requirements.txt \
|
31 |
+
python -m pip install -r requirements.txt
|
32 |
+
|
33 |
# Expose the port that the application listens on.
|
34 |
EXPOSE 8000
|
35 |
|