Spaces:
Runtime error
Runtime error
Zai
commited on
Commit
·
39f9c02
1
Parent(s):
4836c70
port change
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -12,10 +12,10 @@ RUN pip install torch torchvision torchaudio --index-url https://download.pytorc
|
|
| 12 |
RUN pip install django opencv-python scipy pandas shapely -U
|
| 13 |
|
| 14 |
# Expose the port the app runs on
|
| 15 |
-
EXPOSE
|
| 16 |
|
| 17 |
# Define environment variable
|
| 18 |
ENV NAME g2p_app
|
| 19 |
|
| 20 |
# Run app.py when the container launches
|
| 21 |
-
CMD ["python", "manage.py", "runserver", "0.0.0.0:
|
|
|
|
| 12 |
RUN pip install django opencv-python scipy pandas shapely -U
|
| 13 |
|
| 14 |
# Expose the port the app runs on
|
| 15 |
+
EXPOSE 7860
|
| 16 |
|
| 17 |
# Define environment variable
|
| 18 |
ENV NAME g2p_app
|
| 19 |
|
| 20 |
# Run app.py when the container launches
|
| 21 |
+
CMD ["python", "manage.py", "runserver", "0.0.0.0:7860"]
|