add dockerfile

This commit is contained in:
2023-07-26 13:15:20 +02:00
parent 27890bde6b
commit 1db28088ce

9
Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM node:18-alpine as build
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY . ./
RUN npm run build
FROM nginx
COPY --from=build /app/dist /usr/share/nginx/html