Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
# Use the official Python 3.10 image
|
| 2 |
-
FROM python:3.
|
| 3 |
|
| 4 |
# Set the working directory to /code
|
| 5 |
WORKDIR /code
|
|
@@ -27,4 +27,4 @@ WORKDIR $HOME/app
|
|
| 27 |
COPY --chown=user . $HOME/app
|
| 28 |
|
| 29 |
# Set the command to run the Flask app with Gunicorn
|
| 30 |
-
CMD ["gunicorn",
|
|
|
|
| 1 |
# Use the official Python 3.10 image
|
| 2 |
+
FROM python:3.9
|
| 3 |
|
| 4 |
# Set the working directory to /code
|
| 5 |
WORKDIR /code
|
|
|
|
| 27 |
COPY --chown=user . $HOME/app
|
| 28 |
|
| 29 |
# Set the command to run the Flask app with Gunicorn
|
| 30 |
+
CMD ["gunicorn","0.0.0.0:7860", "main:app"]
|