Skip to content

Commit

Permalink
Updated EXPOSE to variable
Browse files Browse the repository at this point in the history
  • Loading branch information
modem7 committed Sep 6, 2022
1 parent b023801 commit 8e2bebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ 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
EXPOSE $PORT

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
Expand Down

0 comments on commit 8e2bebc

Please sign in to comment.