Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -22,8 +22,8 @@ RUN rm /etc/nginx/sites-enabled/default
|
|
| 22 |
# Copy your Nginx configuration
|
| 23 |
COPY nginx.conf /etc/nginx/sites-enabled/
|
| 24 |
|
| 25 |
-
# Expose both ports:
|
| 26 |
-
EXPOSE
|
| 27 |
|
| 28 |
# Start both Nginx and Node.js backend
|
| 29 |
CMD service nginx start && node server.js
|
|
|
|
| 22 |
# Copy your Nginx configuration
|
| 23 |
COPY nginx.conf /etc/nginx/sites-enabled/
|
| 24 |
|
| 25 |
+
# Expose both ports: 7860 for Nginx and 6060 for WebSocket backend
|
| 26 |
+
EXPOSE 7860 6060
|
| 27 |
|
| 28 |
# Start both Nginx and Node.js backend
|
| 29 |
CMD service nginx start && node server.js
|