Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -15,9 +15,11 @@ RUN npm install
|
|
15 |
|
16 |
RUN npm run dev
|
17 |
|
|
|
|
|
18 |
# Command to start the application
|
19 |
-
|
20 |
-
CMD ["--host", "0.0.0.0", "--port", "7860"]
|
21 |
|
22 |
# Expose application's default port
|
23 |
EXPOSE 7860
|
|
|
15 |
|
16 |
RUN npm run dev
|
17 |
|
18 |
+
RUN npm run build
|
19 |
+
|
20 |
# Command to start the application
|
21 |
+
CMD ["npm", "run", "start"]
|
22 |
+
# CMD ["--host", "0.0.0.0", "--port", "7860"]
|
23 |
|
24 |
# Expose application's default port
|
25 |
EXPOSE 7860
|