feat: add Dockerfile
This commit is contained in:
parent
adda715d95
commit
48aac9da70
|
@ -19,7 +19,7 @@ COPY --from=builder /app/lubimyczytacrss/lubimyczytacrss .
|
|||
|
||||
EXPOSE 9234/tcp
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=5s --retries=3 \
|
||||
CMD curl --fail http://localhost:9234/health || exit 1
|
||||
HEALTHCHECK --interval=30s --timeout=10s --retries=3 \
|
||||
CMD wget --no-verbose --tries=1 --spider http://localhost:9234/health || exit 1
|
||||
|
||||
CMD ["./lubimyczytacrss"]
|
||||
|
|
Loading…
Reference in New Issue