|
|
@@ -1,7 +1,7 @@ |
|
|
|
FROM node:erbium-alpine as build-stage |
|
|
|
RUN apk add python2 |
|
|
|
WORKDIR /app |
|
|
|
COPY package.json . |
|
|
|
COPY package.json yarn.lock ./ |
|
|
|
RUN yarn |
|
|
|
COPY . . |
|
|
|
RUN yarn build |
|
|
@@ -9,5 +9,6 @@ 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 |
|
|
|
|