update app src
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-02-27 18:38:41 +01:00
parent bf4b9e02f1
commit 07bf07a942

View File

@@ -6,7 +6,7 @@ FROM node:${NODE_VERSION} AS base
ARG PORT=3000
WORKDIR /src
WORKDIR /app
# Build
FROM base AS build
@@ -25,11 +25,11 @@ FROM base AS production
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/*
COPY --from=build /app/.output /app/.output
COPY --from=build /app/site /app/site
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
CMD curl -f http://localhost:${PORT}/api/health || exit 1