Update Dockerfile

#1
by qdqd - opened
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -18,10 +18,10 @@ RUN apt-get update && apt-get install -y wget
18
  RUN wget https://huggingface.co/datasets/qdqd/ddsg-api/resolve/main/api.py -O /app/api.py
19
 
20
  # Make port 80 available to the world outside this container
21
- EXPOSE 80
22
 
23
  # Define environment variable
24
  ENV FLASK_APP=api.py
25
 
26
  # Run the Flask application
27
- CMD ["flask", "run", "--host=0.0.0.0", "--port=80"]
 
18
  RUN wget https://huggingface.co/datasets/qdqd/ddsg-api/resolve/main/api.py -O /app/api.py
19
 
20
  # Make port 80 available to the world outside this container
21
+ EXPOSE 7860
22
 
23
  # Define environment variable
24
  ENV FLASK_APP=api.py
25
 
26
  # Run the Flask application
27
+ CMD ["flask", "run", "--host=0.0.0.0", "--port=7860"]