Spaces:
Running
Running
szymonrucinski
commited on
Commit
•
c78bec2
1
Parent(s):
257642d
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
@@ -18,7 +18,7 @@ RUN pip install pysndfile
|
|
18 |
RUN pip install moviepy
|
19 |
RUN mkdir -m 777 flagged
|
20 |
RUN apt-get install git-lfs
|
21 |
-
RUN apt-get install ffmpeg
|
22 |
RUN apt-get update
|
23 |
|
24 |
RUN git clone https://huggingface.co/szymonrucinski/good-mood/
|
@@ -26,6 +26,5 @@ RUN apt-get update
|
|
26 |
RUN mv ./good-mood/alexnet-good-mood.pt ./model.pt
|
27 |
|
28 |
EXPOSE 7860
|
29 |
-
EXPOSE 8000
|
30 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
31 |
# CMD ["gradio","app.py"]
|
|
|
18 |
RUN pip install moviepy
|
19 |
RUN mkdir -m 777 flagged
|
20 |
RUN apt-get install git-lfs
|
21 |
+
RUN apt-get install ffmpeg -y
|
22 |
RUN apt-get update
|
23 |
|
24 |
RUN git clone https://huggingface.co/szymonrucinski/good-mood/
|
|
|
26 |
RUN mv ./good-mood/alexnet-good-mood.pt ./model.pt
|
27 |
|
28 |
EXPOSE 7860
|
|
|
29 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
30 |
# CMD ["gradio","app.py"]
|