STASH
This commit is contained in:
parent
23028f0027
commit
4453f33ad9
61 changed files with 11930 additions and 2 deletions
14
frontend/Dockerfile
Normal file
14
frontend/Dockerfile
Normal file
|
@ -0,0 +1,14 @@
|
|||
FROM node:alpine as builder
|
||||
WORKDIR /app
|
||||
COPY ./package.json /app/package.json
|
||||
COPY . /app
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
|
||||
|
||||
FROM nginx:alpine as runner
|
||||
RUN apk add --update npm
|
||||
WORKDIR /app
|
||||
COPY --from=builder /app/dist /usr/share/nginx/html
|
||||
COPY ./nginx.conf /etc/nginx/nginx.conf
|
||||
EXPOSE 80
|
Loading…
Add table
Add a link
Reference in a new issue