chore: update Dockerfile

This commit is contained in:
dec0dOS 2021-05-15 16:25:52 +03:00
parent 736359fe25
commit ead11f11e1

View file

@ -1,4 +1,4 @@
FROM node:current-alpine3.13 as build-stage FROM node:current-alpine as build-stage
ENV INLINE_RUNTIME_CHUNK=false ENV INLINE_RUNTIME_CHUNK=false
ENV GENERATE_SOURCEMAP=false ENV GENERATE_SOURCEMAP=false
@ -12,7 +12,7 @@ COPY ./frontend /app/frontend
RUN yarn build RUN yarn build
FROM node:current-alpine3.13 FROM node:current-alpine
WORKDIR /app/frontend/build WORKDIR /app/frontend/build
COPY --from=build-stage /app/frontend/build /app/frontend/build/ COPY --from=build-stage /app/frontend/build /app/frontend/build/