deployment stuff

This commit is contained in:
Thomas Faour
2025-06-21 23:52:16 -04:00
parent b6aded5281
commit bfb0eae32c
6 changed files with 14 additions and 31 deletions
+2 -2
View File
@@ -98,11 +98,11 @@ RUN mkdir -p logs && \
USER appuser
# Expose port
EXPOSE 3000
EXPOSE 4395
# Health check
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD curl -f http://localhost:3000/api/configs || exit 1
CMD curl -f http://localhost:4395/api/configs || exit 1
# Start the application
CMD ["./api_server"]