Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -28,7 +28,7 @@ RUN npm install --legacy-peer-deps
|
|
28 |
# COPY --chown=user . $HOME/app
|
29 |
|
30 |
# Build the React app
|
31 |
-
RUN npm build
|
32 |
|
33 |
# Start Nginx server
|
34 |
-
CMD ["npm", "start"]
|
|
|
28 |
# COPY --chown=user . $HOME/app
|
29 |
|
30 |
# Build the React app
|
31 |
+
RUN npm run build
|
32 |
|
33 |
# Start Nginx server
|
34 |
+
CMD ["npm", "run", "start"]
|