mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-06 20:28:48 +00:00
Update healthcheck to work with PORT variable
This commit is contained in:
parent
fb845c3e03
commit
36d1a9c738
2 changed files with 8 additions and 4 deletions
|
@ -54,9 +54,10 @@ COPY --link /public ./public
|
|||
COPY --link --from=builder /app/.next/standalone ./
|
||||
COPY --link --from=builder /app/.next/static/ ./.next/static/
|
||||
|
||||
EXPOSE 3000
|
||||
ENV PORT='3000'
|
||||
|
||||
HEALTHCHECK --interval=12s --timeout=12s --start-period=30s \
|
||||
CMD node ./healthcheck.js
|
||||
|
||||
EXPOSE 3000
|
||||
ENV PORT 3000
|
||||
CMD ["node", "server.js"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue