mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-02-18 14:52:46 +00:00
fix: pin alpine version to 3.18 and add healthchecks
This commit is contained in:
@@ -9,4 +9,6 @@ ENV NODE_ENV=production
|
||||
WORKDIR /app
|
||||
|
||||
EXPOSE 3000
|
||||
HEALTHCHECK --interval=10s --timeout=10s --start-period=10s --retries=12 CMD curl -s --fail --request POST --data '{}' --header 'Content-Type: application/json' http://localhost:3000/ >/dev/null || exit 1
|
||||
|
||||
ENTRYPOINT ["node", "app.js"]
|
||||
|
||||
Reference in New Issue
Block a user