Spaces:
Running
Running
Update Dockerfile
#1
by
qdqd
- opened
- 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
|
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=
|
|
|
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"]
|