|
@@ -7,8 +7,5 @@ COPY . . |
|
|
RUN yarn build |
|
|
RUN yarn build |
|
|
|
|
|
|
|
|
FROM nginx:1.17.9-alpine as production-stage |
|
|
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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WORKDIR /usr/share/nginx/html |
|
|
|
|
|
COPY --from=build-stage /app/dist . |