dryymatt commited on
Commit
9ec274d
Β·
verified Β·
1 Parent(s): d8cef4b

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -14,11 +14,11 @@ COPY generated/ generated/
14
 
15
  RUN chmod +x sandbox.sh
16
 
17
- # ─── STABLE VIBE: exposed port 8765 ───
18
- EXPOSE 8765
19
 
20
  HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
21
- CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8765/api/health')" || exit 1
22
 
23
- # ─── Entrypoint: aiohttp server on 0.0.0.0:8765 ───
24
- CMD ["python", "server.py"]
 
14
 
15
  RUN chmod +x sandbox.sh
16
 
17
+ # ─── VISIBILITY OVERRIDE: exposed port 7860 ───
18
+ EXPOSE 7860
19
 
20
  HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
21
+ CMD python -c "import urllib.request; urllib.request.urlopen('http://0.0.0.0:7860/api/health')" || exit 1
22
 
23
+ # ─── Entrypoint: aiohttp server on 0.0.0.0:7860 ───
24
+ CMD ["python", "-u", "server.py"]