readme, docker update

This commit is contained in:
2026-07-17 14:13:27 +02:00
parent d73aa076ad
commit 06b16b9033
3 changed files with 184 additions and 80 deletions
+6 -1
View File
@@ -18,10 +18,15 @@ USER badgedex
COPY --chown=badgedex:badgedex . .
#Install dependencies
RUN npm ci --only=production
RUN npm ci --omit=dev
# Expose API port
EXPOSE 3000
# Health check
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 \
CMD wget -qO- http://localhost:3000/version || exit 1
#Start node application
ENTRYPOINT ["npm"]