Adds flake, but just builds docker images directly

This commit is contained in:
2025-05-31 15:12:44 -07:00
parent 8bee0973cd
commit b3d4e90e7f
8 changed files with 239 additions and 23 deletions

11
docker/app.dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM node:22-alpine3.20 AS builder
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm install
COPY . .
RUN npm run build
FROM nginx:alpine AS runner
COPY --from=builder /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]