hananbahtiti commited on
Commit
194d82a
1 Parent(s): 587af7f

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -24
Dockerfile DELETED
@@ -1,24 +0,0 @@
1
- FROM python:3.10-slim
2
-
3
- WORKDIR ~/
4
-
5
- COPY requirements.txt requirements.txt
6
-
7
- ENV PIP_ROOT_USER_ACTION=ignore
8
-
9
- RUN apt-get update && apt-get install git -y
10
- RUN pip install --upgrade pip
11
- RUN pip install Flask
12
- RUN pip install flask-cors
13
- RUN pip install openai-whisper
14
- RUN pip install --no-cache-dir --upgrade -r requirements.txt
15
- RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
16
- RUN pip3 install "git+https://github.com/openai/whisper.git"
17
- RUN apt-get install -y ffmpeg
18
-
19
- COPY . .
20
-
21
- EXPOSE 7860
22
-
23
- CMD ["python3", "-m" , "flask", "run", "--host=0.0.0.0", "--port=7860"]
24
-