Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -21,7 +21,7 @@ COPY ./app /code/app
|
|
21 |
EXPOSE 7860
|
22 |
|
23 |
# Healthcheck hinzufügen
|
24 |
-
HEALTHCHECK --interval=
|
25 |
CMD curl -f http://localhost:7860/ || exit 1
|
26 |
|
27 |
# Start-Command
|
|
|
21 |
EXPOSE 7860
|
22 |
|
23 |
# Healthcheck hinzufügen
|
24 |
+
HEALTHCHECK --interval=60s --timeout=30s --start-period=5s --retries=3 \
|
25 |
CMD curl -f http://localhost:7860/ || exit 1
|
26 |
|
27 |
# Start-Command
|