update docker image, compose file

This commit is contained in:
smart_ex 2022-07-26 18:09:26 +10:00
parent 09429eb276
commit 74dbd94de8
3 changed files with 18 additions and 17 deletions

View file

@ -6,7 +6,7 @@ WORKDIR /usr/app
COPY yarn.lock .
COPY package.json .
RUN apk update && apk add --no-cache g++ make python3 git openssh && rm -rf /var/cache/apk/*
RUN apk update && apk add --no-cache g++ make python3 && rm -rf /var/cache/apk/*
RUN yarn install --network-concurrency 2
COPY . ./
@ -17,7 +17,7 @@ ENV NODE_ENV=production
WORKDIR /app
RUN apk update && apk add --no-cache g++ make python3 git openssh && rm -rf /var/cache/apk/*
RUN apk update && apk add --no-cache g++ make python3 && rm -rf /var/cache/apk/*
COPY --from=dev /usr/app/build /app
COPY --from=dev /usr/app/package.json /app/