2
0
forked from jmug/cactoide

feat: add an option to remove the landing page

This commit is contained in:
Levente Orban
2025-10-10 18:27:58 +02:00
parent 11875b4a1e
commit ef6005e648
2 changed files with 6 additions and 6 deletions

View File

@@ -5,6 +5,7 @@ yarn-error.log*
.git
.gitignore
README.md
.env
.env.*
!.env.example
.nyc_output

View File

@@ -4,12 +4,6 @@ COPY package*.json .
RUN npm ci
COPY . .
COPY .env .env
EXPOSE 3000
ENV PORT 3000
ENV HOSTNAME "0.0.0.0"
RUN npm run build
RUN npm prune --production
@@ -22,6 +16,11 @@ COPY --from=builder /app/build build/
COPY --from=builder /app/node_modules node_modules/
COPY package.json .
EXPOSE 3000
ENV PORT 3000
ENV HOSTNAME "0.0.0.0"
HEALTHCHECK --interval=30s --timeout=10s --start-period=10s --retries=3 \
CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:3000/healthz || exit 1