gilangf3000 commited on
Commit
4edd0a0
·
verified ·
1 Parent(s): fdeb71d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM python:3.9-slim
2
 
3
  # Set environment variables
4
  ENV TZ=Asia/Jakarta
@@ -34,4 +34,4 @@ RUN test -f requirements.txt && pip install --no-cache-dir -r requirements.txt |
34
  EXPOSE 51379
35
 
36
  # Jalankan aplikasi Python dengan Panel
37
- CMD ["python3", "app.py"]
 
1
+ FROM python:3.9
2
 
3
  # Set environment variables
4
  ENV TZ=Asia/Jakarta
 
34
  EXPOSE 51379
35
 
36
  # Jalankan aplikasi Python dengan Panel
37
+ ENTRYPOINT ["panel", "serve", "app.py", "--port=51379", "--address=0.0.0.0", "--allow-websocket-origin=*"]