mirror of
https://github.com/batonogov/learn-devops.git
synced 2025-11-29 00:33:02 +00:00
Update entrypoint (#26)
Co-authored-by: Fedor Batonogov <f.batonogov@yandex.ru>
This commit is contained in:
committed by
GitHub
parent
6f75d9c359
commit
80784d36ab
@@ -40,4 +40,4 @@ COPY --from=ghcr.io/tarampampam/curl:8.10.1 /bin/curl /bin/curl
|
||||
HEALTHCHECK --interval=5s --timeout=5s --start-period=3s --retries=3 \
|
||||
CMD [ "curl", "--fail", "http://127.0.0.1:8080/" ]
|
||||
# Запускаем приложение при старте контейнера
|
||||
CMD ["/main"]
|
||||
ENTRYPOINT ["/main"]
|
||||
|
||||
Reference in New Issue
Block a user