deployment stuff
This commit is contained in:
+2
-2
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user