aripbae commited on
Commit
28803d8
·
verified ·
1 Parent(s): e36abe9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -10
Dockerfile CHANGED
@@ -15,15 +15,9 @@ RUN mv -vf echofs /usr/local/bin/
15
  RUN echo 'events {} http { \
16
  server { \
17
  listen 7860; \
18
- location /stats { \
19
- proxy_pass http://127.0.0.1:3000/stats; \
20
- } \
21
- location /eval { \
22
- proxy_pass http://127.0.0.1:3000/eval; \
23
- } \
24
- location / { \
25
- proxy_pass http://127.0.0.1:7860; \
26
- } \
27
  } \
28
  }' > /etc/nginx/nginx.conf
29
 
@@ -38,4 +32,4 @@ RUN npx playwright install-deps
38
  RUN chmod -R 777 /tmp && mkdir -p /tmp/qc
39
  COPY . .
40
  ENV PORT 3000
41
- CMD ["sh", "-c", "node . & echofs -r /tmp -p 7860 -H & tunn3l http 7860 --subdomain ripp"]
 
15
  RUN echo 'events {} http { \
16
  server { \
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:7860; } \
 
 
 
 
 
 
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 -p 7860 -H & tunn3l http 7860 --subdomain ripp & nginx -g 'daemon off;'"]