Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -4,7 +4,7 @@ FROM python:3.9-slim
|
|
4 |
# Set environment variables
|
5 |
ENV FLASK_APP=app.py
|
6 |
ENV FLASK_RUN_HOST=0.0.0.0
|
7 |
-
|
8 |
|
9 |
# Install ffmpeg and other dependencies
|
10 |
RUN apt-get update && \
|
@@ -24,5 +24,5 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
24 |
# Expose the port on which the app will run
|
25 |
EXPOSE 80
|
26 |
|
27 |
-
# Run the Flask app
|
28 |
-
CMD ["
|
|
|
4 |
# Set environment variables
|
5 |
ENV FLASK_APP=app.py
|
6 |
ENV FLASK_RUN_HOST=0.0.0.0
|
7 |
+
ENV FLASK_RUN_PORT=80
|
8 |
|
9 |
# Install ffmpeg and other dependencies
|
10 |
RUN apt-get update && \
|
|
|
24 |
# Expose the port on which the app will run
|
25 |
EXPOSE 80
|
26 |
|
27 |
+
# Run the Flask app
|
28 |
+
CMD ["flask", "run"]
|