Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -4
Dockerfile
CHANGED
|
@@ -15,8 +15,5 @@ RUN apt-get update && apt-get install -y \
|
|
| 15 |
# Install Python dependencies
|
| 16 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 17 |
|
| 18 |
-
# Expose port
|
| 19 |
-
EXPOSE 7860
|
| 20 |
-
|
| 21 |
# Run the application
|
| 22 |
-
CMD ["
|
|
|
|
| 15 |
# Install Python dependencies
|
| 16 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 17 |
|
|
|
|
|
|
|
|
|
|
| 18 |
# Run the application
|
| 19 |
+
CMD ["python", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|