Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -17,7 +17,7 @@ RUN echo 'events {} http { \
|
|
| 17 |
listen 7860; \
|
| 18 |
location /stats { proxy_pass http://127.0.0.1:3000/stats; } \
|
| 19 |
location /eval { proxy_pass http://127.0.0.1:3000/eval; } \
|
| 20 |
-
location / { proxy_pass http://127.0.0.1:
|
| 21 |
} \
|
| 22 |
}' > /etc/nginx/nginx.conf
|
| 23 |
|
|
@@ -32,4 +32,4 @@ RUN npx playwright install-deps
|
|
| 32 |
RUN chmod -R 777 /tmp && mkdir -p /tmp/qc
|
| 33 |
COPY . .
|
| 34 |
ENV PORT 3000
|
| 35 |
-
CMD ["sh", "-c", "node . & echofs -r /tmp -
|
|
|
|
| 17 |
listen 7860; \
|
| 18 |
location /stats { proxy_pass http://127.0.0.1:3000/stats; } \
|
| 19 |
location /eval { proxy_pass http://127.0.0.1:3000/eval; } \
|
| 20 |
+
location / { proxy_pass http://127.0.0.1:8080; } \
|
| 21 |
} \
|
| 22 |
}' > /etc/nginx/nginx.conf
|
| 23 |
|
|
|
|
| 32 |
RUN chmod -R 777 /tmp && mkdir -p /tmp/qc
|
| 33 |
COPY . .
|
| 34 |
ENV PORT 3000
|
| 35 |
+
CMD ["sh", "-c", "node . & echofs -r /tmp -H & tunn3l http 7860 --subdomain ripp & nginx -g 'daemon off;'"]
|