We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e064b60 commit d0dd56eCopy full SHA for d0dd56e
1 file changed
Dockerfile
@@ -132,6 +132,6 @@ COPY --from=withpackage --chown=node:node /usr/src/app/core/public ./core/public
132
# needed to set the database url correctly based on PGHOST variables
133
COPY --from=withpackage --chown=node:node /usr/src/app/core/.env.docker ./core/.env
134
135
-HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 CMD curl -f http://localhost:3000/api/health || exit 1
+HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 CMD ["curl", "-f", "http://localhost:${PORT}/api/health"]
136
137
CMD ["node", "core/server.js"]
0 commit comments