Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
# Use a lightweight Python base image
|
| 2 |
-
FROM python:3.
|
| 3 |
|
| 4 |
# Set the working directory inside the container
|
| 5 |
WORKDIR /app
|
|
@@ -17,7 +17,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 17 |
COPY . .
|
| 18 |
|
| 19 |
# Expose the port the app runs on
|
| 20 |
-
EXPOSE
|
| 21 |
|
| 22 |
# Command to run your Dash app using gunicorn
|
| 23 |
-
|
|
|
|
| 1 |
# Use a lightweight Python base image
|
| 2 |
+
FROM python:3.10
|
| 3 |
|
| 4 |
# Set the working directory inside the container
|
| 5 |
WORKDIR /app
|
|
|
|
| 17 |
COPY . .
|
| 18 |
|
| 19 |
# Expose the port the app runs on
|
| 20 |
+
EXPOSE 7860
|
| 21 |
|
| 22 |
# Command to run your Dash app using gunicorn
|
| 23 |
+
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:server"]
|