This commit is contained in:
@@ -26,6 +26,9 @@ ENV PORT=${PORT}
|
||||
ENV NODE_ENV=production
|
||||
|
||||
COPY --from=build /src/.output /src/.output
|
||||
COPY --from=build /src/site /src/site
|
||||
|
||||
RUN apt-get update && apt-get -fy install curl && rm -rf /var/cache/apt/*
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
|
||||
CMD curl -f http://localhost:${PORT}/api/health || exit 1
|
||||
|
||||
Reference in New Issue
Block a user