feat: add version info endpoint and display in UI
All checks were successful
Build and Push Docker Image / build (push) Successful in 35s
All checks were successful
Build and Push Docker Image / build (push) Successful in 35s
This commit is contained in:
@@ -52,6 +52,12 @@ HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
||||
ENV NODE_ENV=production \
|
||||
PORT=3000
|
||||
|
||||
# Build arguments for version info
|
||||
ARG COMMIT_HASH=unknown
|
||||
ARG BUILD_DATE=unknown
|
||||
ENV COMMIT_HASH=${COMMIT_HASH}
|
||||
ENV BUILD_DATE=${BUILD_DATE}
|
||||
|
||||
# Use dumb-init to handle signals properly
|
||||
ENTRYPOINT ["dumb-init", "--"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user