mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-07 14:18:47 +00:00
Updated EXPOSE to variable
This commit is contained in:
parent
b023801fe4
commit
8e2bebcfd9
1 changed files with 1 additions and 1 deletions
|
@ -53,8 +53,8 @@ COPY --link /public ./public
|
||||||
COPY --link --from=builder /app/.next/standalone ./
|
COPY --link --from=builder /app/.next/standalone ./
|
||||||
COPY --link --from=builder /app/.next/static/ ./.next/static/
|
COPY --link --from=builder /app/.next/static/ ./.next/static/
|
||||||
|
|
||||||
EXPOSE 3000
|
|
||||||
ENV PORT 3000
|
ENV PORT 3000
|
||||||
|
EXPOSE $PORT
|
||||||
|
|
||||||
HEALTHCHECK --interval=10s --timeout=3s --start-period=20s \
|
HEALTHCHECK --interval=10s --timeout=3s --start-period=20s \
|
||||||
CMD wget --no-verbose --tries=1 --spider --no-check-certificate http://localhost:$PORT/api/healthcheck || exit 1
|
CMD wget --no-verbose --tries=1 --spider --no-check-certificate http://localhost:$PORT/api/healthcheck || exit 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue