Refactor file structure

This commit is contained in:
schmelczerandras 2020-07-09 21:19:28 +02:00
parent 5f73c2ac82
commit 3f3e654ea9
26 changed files with 71 additions and 215 deletions

9
frontend/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