fix: remove web dir from Dockerfile, fix healthcheck path
web/ was deleted in previous refactoring. Healthcheck now uses /health endpoint instead of /web.
This commit is contained in:
parent
c17d7c2c29
commit
5f3d84a89b
@ -26,12 +26,11 @@ RUN apk add --no-cache wget file
|
||||
COPY --from=builder /app/server .
|
||||
RUN chmod +x server
|
||||
|
||||
COPY --from=builder /app/web ./web
|
||||
COPY --from=builder /app/docs ./docs
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
|
||||
CMD wget --no-verbose --tries=1 --spider http://localhost:8080/web || exit 1
|
||||
CMD wget --no-verbose --tries=1 --spider http://localhost:8080/health || exit 1
|
||||
|
||||
CMD ["./server"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user