Update for Season 2026
Build Formula12 Docker Image / pocketbase-docker (push) Successful in 39s

This commit is contained in:
2026-02-15 00:11:27 +01:00
parent ba307eb4c4
commit f8829cf401
22 changed files with 99 additions and 115 deletions
+26
View File
@@ -0,0 +1,26 @@
# Build the node application
FROM node:23-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
RUN npm prune --production
# Copy the built application to a minimal image
FROM node:23-alpine
WORKDIR /app
COPY --from=builder /app/build build/
COPY --from=builder /app/node_modules node_modules/
COPY package.json .
EXPOSE 5173
ENV NODE_ENV=production
CMD [ "node", "build" ]