ParthCodes commited on
Commit
14a9047
·
verified ·
1 Parent(s): 54028bf

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
  # Menggunakan base image Python 3.9
2
- FROM python:3.9
3
 
4
  # Mengatur direktori kerja ke /code
5
  WORKDIR /code
@@ -14,4 +14,4 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
  COPY . /code
15
 
16
  # CMD untuk menjalankan Gunicorn
17
- CMD ["python", "app.py", "-b", "0.0.0.0:7860"]
 
1
  # Menggunakan base image Python 3.9
2
+ FROM python:3.11
3
 
4
  # Mengatur direktori kerja ke /code
5
  WORKDIR /code
 
14
  COPY . /code
15
 
16
  # CMD untuk menjalankan Gunicorn
17
+ CMD ["gunicorn", "app:app", "-b", "0.0.0.0:7860"]