Fixed curl URL for healthcheck
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
parent
d9bc304217
commit
6a7f8b91ce
@ -7,5 +7,5 @@ FROM debian:buster-slim
|
|||||||
RUN apt-get update && apt-get install -y libpq-dev curl && rm -rf /var/lib/apt/lists/*
|
RUN apt-get update && apt-get install -y libpq-dev curl && rm -rf /var/lib/apt/lists/*
|
||||||
COPY --from=builder /usr/local/cargo/bin/moviequotebot_api /usr/local/bin/moviequotebot_api
|
COPY --from=builder /usr/local/cargo/bin/moviequotebot_api /usr/local/bin/moviequotebot_api
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
HEALTHCHECK CMD curl --fail http://localhost:8080 || exit 1
|
HEALTHCHECK CMD curl --fail http://localhost:8080/health || exit 1
|
||||||
CMD ["moviequotebot_api"]
|
CMD ["moviequotebot_api"]
|
Loading…
Reference in New Issue
Block a user