hamstr/Dockerfile
Ricardo Arturo Cabral Mejia c7b626bef0
feat: add Dockerfile
2022-01-22 16:54:39 +00:00

15 lines
237 B
Docker

FROM node:12.22.1 as build
WORKDIR /app/build
COPY . /app/build
RUN yarn \
&& npx quasar build
FROM nginx as nginx-branle
COPY ./nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/build/dist/spa /app