Refactor file structure
This commit is contained in:
parent
5f73c2ac82
commit
3f3e654ea9
26 changed files with 71 additions and 215 deletions
9
frontend/Dockerfile
Normal file
9
frontend/Dockerfile
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue