Merge pull request 'fix(docker): healthcheck the port the app listens on' (#36) from fix/dockerfile-healthcheck-port into staging

Reviewed-on: https://gits.altru.id/apksel-dev/apskel-pos-backend/pulls/36
This commit was merged in pull request #36.
This commit is contained in:
2026-09-30 17:37:40 +02:00
+1 -1
View File
@@ -15,6 +15,6 @@ COPY --from=build /out/app /app
ENV TZ=Asia/Jakarta ENV TZ=Asia/Jakarta
EXPOSE 4000 EXPOSE 4000
HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \ HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \
CMD curl -fsS http://localhost:3300/health || exit 1 CMD curl -fsS http://localhost:4000/health || exit 1
USER appuser USER appuser
ENTRYPOINT ["/app"] ENTRYPOINT ["/app"]