add
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
2026-04-07 11:15:50 +10:00
parent 4a57d68c8c
commit bf9d63e635
3 changed files with 81 additions and 1 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
# Stage 1: Build
FROM node:22-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
# Stage 2: Serve with nginx
FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]