Added wget to Dockerfile for Hugging Face compatibility
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -7,8 +7,8 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
7 |
|
8 |
COPY . .
|
9 |
|
10 |
-
# Make sure ffmpeg
|
11 |
-
RUN apt-get update && apt-get install -y ffmpeg && apt-get clean
|
12 |
|
13 |
# Set environment variables
|
14 |
ENV PYTHONUNBUFFERED=1
|
@@ -17,4 +17,4 @@ ENV PORT=7860
|
|
17 |
# Expose the port the app runs on
|
18 |
EXPOSE 7860
|
19 |
|
20 |
-
CMD ["python", "flask_app.py"]
|
|
|
7 |
|
8 |
COPY . .
|
9 |
|
10 |
+
# Make sure ffmpeg and wget are installed
|
11 |
+
RUN apt-get update && apt-get install -y ffmpeg wget && apt-get clean
|
12 |
|
13 |
# Set environment variables
|
14 |
ENV PYTHONUNBUFFERED=1
|
|
|
17 |
# Expose the port the app runs on
|
18 |
EXPOSE 7860
|
19 |
|
20 |
+
CMD ["python", "flask_app.py"]
|