Files
envbao-admin/Dockerfile
T
mattandClaude Sonnet 5.5 a13d2cb04a
CI / integration (push) Successful in 10s
CI / check (push) Successful in 12s
Add Dockerfile, nginx config and docker-compose demo
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 11:12:20 +01:00

12 lines
250 B
Docker

FROM node:22-alpine AS build
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM nginx:1.27-alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80