Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +0 -10
Dockerfile
CHANGED
|
@@ -54,16 +54,6 @@ RUN npm install
|
|
| 54 |
# Expose application's default port
|
| 55 |
EXPOSE 7860
|
| 56 |
|
| 57 |
-
# Configure nginx
|
| 58 |
-
RUN rm -f /etc/nginx/sites-enabled/default
|
| 59 |
-
COPY ./conf/nginx.conf /etc/nginx/sites-available/reverse-proxy.conf
|
| 60 |
-
RUN ln -s /etc/nginx/sites-available/reverse-proxy.conf /etc/nginx/sites-enabled/
|
| 61 |
-
|
| 62 |
-
# Stop all old instances of the api service
|
| 63 |
-
# RUN pm2 delete all
|
| 64 |
-
|
| 65 |
-
# Start nginx in foreground
|
| 66 |
-
RUN nginx
|
| 67 |
|
| 68 |
# Start all services in background with logging
|
| 69 |
#cd /code/service1 && ./run.sh > /var/log/service1.log 2>&1 &
|
|
|
|
| 54 |
# Expose application's default port
|
| 55 |
EXPOSE 7860
|
| 56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
|
| 58 |
# Start all services in background with logging
|
| 59 |
#cd /code/service1 && ./run.sh > /var/log/service1.log 2>&1 &
|