Scaffold webpack

This commit is contained in:
schmelczerandras 2020-07-08 22:16:39 +02:00
parent f277d5dfaa
commit e95f1fef4a
10 changed files with 10762 additions and 0 deletions

9
Dockerfile Normal file
View file

@ -0,0 +1,9 @@
FROM node:latest as build
WORKDIR /home/node
COPY . .
RUN npm install
RUN npm run build
FROM nginx:alpine
COPY --from=build /home/node/dist/ /usr/share/nginx/html