mirror of
https://github.com/styppo/hamstr.git
synced 2024-10-18 13:33:22 +00:00
15 lines
237 B
Docker
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
|