Spaces:
Paused
Paused
Modification port Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -19,10 +19,10 @@ RUN [ "python", "-c", "import nltk; nltk.download('wordnet', download_dir='/usr/
|
|
| 19 |
COPY src /
|
| 20 |
|
| 21 |
# Listen to port 7860
|
| 22 |
-
EXPOSE
|
| 23 |
|
| 24 |
# Define the working dir in the contener
|
| 25 |
WORKDIR /
|
| 26 |
|
| 27 |
# Commande to start the app
|
| 28 |
-
CMD ["gunicorn", "--bind", "0.0.0.0:
|
|
|
|
| 19 |
COPY src /
|
| 20 |
|
| 21 |
# Listen to port 7860
|
| 22 |
+
EXPOSE 5000
|
| 23 |
|
| 24 |
# Define the working dir in the contener
|
| 25 |
WORKDIR /
|
| 26 |
|
| 27 |
# Commande to start the app
|
| 28 |
+
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "main:app"]
|