Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -9,9 +9,9 @@ WORKDIR /app
|
|
| 9 |
COPY --chown=user ./requirements.txt requirements.txt
|
| 10 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 11 |
|
| 12 |
-
EXPOSE
|
| 13 |
|
| 14 |
COPY --chown=user . /app
|
| 15 |
-
CMD ["python", "app.py", "--host", "0.0.0.0", "--port", "
|
| 16 |
HEALTHCHECK --interval=30s --timeout=10s --start-period=40s \
|
| 17 |
CMD curl -f http://localhost:7860 || exit 1
|
|
|
|
| 9 |
COPY --chown=user ./requirements.txt requirements.txt
|
| 10 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 11 |
|
| 12 |
+
EXPOSE 8080
|
| 13 |
|
| 14 |
COPY --chown=user . /app
|
| 15 |
+
CMD ["python", "app.py", "--host", "0.0.0.0", "--port", "8080"]
|
| 16 |
HEALTHCHECK --interval=30s --timeout=10s --start-period=40s \
|
| 17 |
CMD curl -f http://localhost:7860 || exit 1
|