habulaj commited on
Commit
9a2006c
·
verified ·
1 Parent(s): e11b741

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -6
Dockerfile CHANGED
@@ -1,8 +1,4 @@
1
- # Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
2
- # you will also find guides on how best to write your Dockerfile
3
-
4
- FROM python:3.9
5
-
6
 
7
  # Install ffmpeg and libsndfile1 (for torchaudio/soundfile)
8
  USER root
@@ -18,4 +14,4 @@ COPY --chown=user ./requirements.txt requirements.txt
18
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
19
 
20
  COPY --chown=user . /app
21
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "1"]
 
1
+ FROM python:3.11
 
 
 
 
2
 
3
  # Install ffmpeg and libsndfile1 (for torchaudio/soundfile)
4
  USER root
 
14
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
15
 
16
  COPY --chown=user . /app
17
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "1"]