Compare commits

..

2 Commits

Author SHA1 Message Date
1f47533c77 Merge branch 'develop'
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-02-27 19:40:43 +01:00
07bf07a942 update app src
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-02-27 18:38:41 +01:00

View File

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