Spaces:
Sleeping
Sleeping
David Ko
commited on
Commit
·
d146212
1
Parent(s):
a221bc1
Fix: React frontend static files path in Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -19,7 +19,10 @@ COPY api.py .
|
|
19 |
COPY static/ static/
|
20 |
|
21 |
# Copy frontend build files
|
22 |
-
COPY frontend/build/ static
|
|
|
|
|
|
|
23 |
|
24 |
# Set environment variables
|
25 |
ENV PYTHONUNBUFFERED=1
|
|
|
19 |
COPY static/ static/
|
20 |
|
21 |
# Copy frontend build files
|
22 |
+
COPY frontend/build/static ./static
|
23 |
+
COPY frontend/build/index.html ./static/
|
24 |
+
COPY frontend/build/*.json ./static/
|
25 |
+
COPY frontend/build/*.js ./static/
|
26 |
|
27 |
# Set environment variables
|
28 |
ENV PYTHONUNBUFFERED=1
|