Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -4,6 +4,10 @@ WORKDIR /app/client
|
|
| 4 |
COPY client/package*.json ./
|
| 5 |
RUN npm install
|
| 6 |
COPY client/ ./
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
RUN npm run build
|
| 8 |
|
| 9 |
# Stage 2: Production Server
|
|
|
|
| 4 |
COPY client/package*.json ./
|
| 5 |
RUN npm install
|
| 6 |
COPY client/ ./
|
| 7 |
+
|
| 8 |
+
# --- DEBUG STEP: Print all files to logs ---
|
| 9 |
+
RUN echo "=== FILE LISTING START ===" && ls -R && echo "=== FILE LISTING END ==="
|
| 10 |
+
|
| 11 |
RUN npm run build
|
| 12 |
|
| 13 |
# Stage 2: Production Server
|