ci: fix dockerfile

This commit is contained in:
dec0dOS 2021-12-16 16:00:08 +03:00
commit 33cb80f8f5

View file

@ -1,9 +1,9 @@
FROM node:current-alpine as build-stage FROM node:lts-alpine as build-stage
ENV INLINE_RUNTIME_CHUNK=false ENV INLINE_RUNTIME_CHUNK=false
ENV GENERATE_SOURCEMAP=false ENV GENERATE_SOURCEMAP=false
RUN yarn set version berry RUN yarn set version 3.x
WORKDIR /app/frontend WORKDIR /app/frontend
COPY ./frontend/package*.json /app/frontend COPY ./frontend/package*.json /app/frontend
@ -14,7 +14,7 @@ COPY ./frontend /app/frontend
RUN yarn build RUN yarn build
FROM node:current-alpine FROM node:lts-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/