Add dockerfile

This commit is contained in:
Ivan R. 2023-08-27 23:28:48 +05:00
parent 35ad956d73
commit 9bc8c2fecb
No known key found for this signature in database
GPG key ID: 56C7BAAE859B302C

13
Dockerfile Normal file
View file

@ -0,0 +1,13 @@
FROM node:20-alpine AS builder
WORKDIR /app
COPY package.json package-lock.json .
RUN npm i
ADD . .
RUN npm run build
FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html