Add Dockerfile
Some checks failed
Build and Deploy / build-and-deploy (push) Has been cancelled

This commit is contained in:
2026-05-29 22:36:17 +00:00
parent 70012b835e
commit a7a96dfcf1

11
Dockerfile Normal file
View File

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