Spaces:
Sleeping
Sleeping
David Ko
commited on
Commit
·
20db9aa
1
Parent(s):
e6aa2b4
Fix: Updated Dockerfile to remove references to frontend/build directory
Browse files- Dockerfile +2 -6
Dockerfile
CHANGED
@@ -22,12 +22,8 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
22 |
COPY api.py .
|
23 |
COPY static/ static/
|
24 |
|
25 |
-
#
|
26 |
-
|
27 |
-
COPY frontend/build/index.html ./static/
|
28 |
-
COPY frontend/build/*.json ./static/
|
29 |
-
COPY frontend/build/*.js ./static/
|
30 |
-
COPY frontend/build/*.html ./static/
|
31 |
|
32 |
# Set environment variables
|
33 |
ENV PYTHONUNBUFFERED=1
|
|
|
22 |
COPY api.py .
|
23 |
COPY static/ static/
|
24 |
|
25 |
+
# Static files are already copied in the previous step
|
26 |
+
# No need to copy frontend build files separately
|
|
|
|
|
|
|
|
|
27 |
|
28 |
# Set environment variables
|
29 |
ENV PYTHONUNBUFFERED=1
|