init
Build and Push Lunchtime Images (Kaniko) / build-and-push (push) Has been cancelled

This commit is contained in:
Simon Gruber committed 2026-03-29 14:59:03 +02:00
commit 2e84c75035
87 files changed
+11133

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
FROM node:20-slim AS build
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . ./
RUN npm run build
FROM node:20-slim
WORKDIR /app
RUN npm install -g http-server
COPY --from=build /app/dist ./
EXPOSE 8000
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD wget -q -O- http://localhost:8000/index.html || exit 1
CMD ["http-server", ".", "-p", "8000", "-c-1", "--gzip", "-P", "http://localhost:8000?"]