Spaces:
Runtime error
Runtime error
Commit
·
0db8dbe
1
Parent(s):
0667834
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -14,7 +14,7 @@ RUN pip install -r requirements.txt
|
|
| 14 |
COPY . .
|
| 15 |
|
| 16 |
# Expose the port the app runs on
|
| 17 |
-
EXPOSE 5000
|
| 18 |
|
| 19 |
# Define the command to run the app when the container starts
|
| 20 |
-
CMD ["flask","
|
|
|
|
| 14 |
COPY . .
|
| 15 |
|
| 16 |
# Expose the port the app runs on
|
| 17 |
+
#EXPOSE 5000
|
| 18 |
|
| 19 |
# Define the command to run the app when the container starts
|
| 20 |
+
CMD ["python", "-m", "flask", "run", "--host", "0.0.0.0", "--port", "7860"]
|