Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +0 -32
Dockerfile
CHANGED
@@ -1,37 +1,5 @@
|
|
1 |
FROM python:3.10-slim
|
2 |
|
3 |
-
# WORKDIR /code
|
4 |
-
|
5 |
-
# COPY requirements.txt ./
|
6 |
-
|
7 |
-
# # RUN pip install --no-cache-dir --upgrade -r /code/requirements.text
|
8 |
-
|
9 |
-
# # RUN useradd -m -u 1000 user
|
10 |
-
|
11 |
-
# # USER user
|
12 |
-
|
13 |
-
# # ENV HOME=/home/user \
|
14 |
-
# # PATH=/home/user/.local/bin:$PATH
|
15 |
-
|
16 |
-
|
17 |
-
# # WROKDIR $HOME/app
|
18 |
-
|
19 |
-
# # COPY --chown=user . $HOME/app/
|
20 |
-
|
21 |
-
# RUN apt-get update && apt-get install git -y
|
22 |
-
# RUN pip3 install -r requirements.txt
|
23 |
-
# RUN pip3 install "git+https://github.com/openai/whisper.git"
|
24 |
-
# RUN apt-get update && apt-get install -y ffmpeg
|
25 |
-
|
26 |
-
# COPY . .
|
27 |
-
|
28 |
-
# EXPOSE 7860
|
29 |
-
|
30 |
-
# CMD ["uvicorn", "fastapi_app:app", "--host", "0.0.0.0", "--port", "7860"]
|
31 |
-
|
32 |
-
# ===
|
33 |
-
|
34 |
-
|
35 |
WORKDIR /code
|
36 |
|
37 |
COPY requirements.txt ./
|
|
|
1 |
FROM python:3.10-slim
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
WORKDIR /code
|
4 |
|
5 |
COPY requirements.txt ./
|