Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -9,9 +9,8 @@ COPY . /app
|
|
9 |
|
10 |
# Install any needed packages specified in requirements.txt
|
11 |
RUN apt-get update && \
|
12 |
-
apt-get install -y ffmpeg && \
|
13 |
rm -rf /var/lib/apt/lists/* && \
|
14 |
-
portaudio19-dev &&\
|
15 |
pip install --no-cache-dir -r requirements.txt && \
|
16 |
pip install python-multipart
|
17 |
|
@@ -22,4 +21,4 @@ EXPOSE 7860
|
|
22 |
ENV PYTHONUNBUFFERED 1
|
23 |
|
24 |
# Command to run the application
|
25 |
-
CMD ["uvicorn", "soundscripter_flaskAPI:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
9 |
|
10 |
# Install any needed packages specified in requirements.txt
|
11 |
RUN apt-get update && \
|
12 |
+
apt-get install -y ffmpeg portaudio19-dev && \
|
13 |
rm -rf /var/lib/apt/lists/* && \
|
|
|
14 |
pip install --no-cache-dir -r requirements.txt && \
|
15 |
pip install python-multipart
|
16 |
|
|
|
21 |
ENV PYTHONUNBUFFERED 1
|
22 |
|
23 |
# Command to run the application
|
24 |
+
CMD ["uvicorn", "soundscripter_flaskAPI:app", "--host", "0.0.0.0", "--port", "7860"]
|