|
1234567891011121314 |
- FROM node:erbium-alpine as build-stage
- RUN apk add python2
- WORKDIR /app
- COPY package.json yarn.lock ./
- RUN yarn
- COPY . .
- RUN yarn build
-
- FROM nginx:1.17.9-alpine as production-stage
- RUN mkdir /app
- COPY --from=build-stage /app/dist /app
- RUN rm /etc/nginx/conf.d/default.conf
- COPY config/docker/nginx.conf /etc/nginx/conf.d/nexus-timers.conf
-
|