Spaces:
Sleeping
Sleeping
Commit ·
8d3a225
1
Parent(s): 3503122
chnaged port to 7860
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -19,5 +19,8 @@ RUN npm run build
|
|
| 19 |
# Serve the built React application using a simple HTTP server
|
| 20 |
RUN npm install -g serve
|
| 21 |
|
|
|
|
|
|
|
|
|
|
| 22 |
# Start the server
|
| 23 |
-
CMD ["serve", "-s", "build"]
|
|
|
|
| 19 |
# Serve the built React application using a simple HTTP server
|
| 20 |
RUN npm install -g serve
|
| 21 |
|
| 22 |
+
# Expose port 3000 to the outside world
|
| 23 |
+
EXPOSE 7860
|
| 24 |
+
|
| 25 |
# Start the server
|
| 26 |
+
CMD ["serve", "-s", "build", "-l", "7860"]
|