Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -33,7 +33,8 @@ ENV PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:128
|
|
33 |
|
34 |
# Expose the port the app runs on
|
35 |
EXPOSE 7860
|
36 |
-
|
|
|
37 |
|
38 |
# Command to run the application
|
39 |
CMD ["python", "app.py"]
|
|
|
33 |
|
34 |
# Expose the port the app runs on
|
35 |
EXPOSE 7860
|
36 |
+
# Also expose the Flask API port
|
37 |
+
EXPOSE 5000
|
38 |
|
39 |
# Command to run the application
|
40 |
CMD ["python", "app.py"]
|