diff --git a/Dockerfile b/Dockerfile index e1e9f30..08e6cbe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,10 @@ COPY ["package.json", "./"] COPY ["yarn.lock", "./"] FROM base AS builder -RUN yarn install +RUN apk add --no-cache --virtual .gyp python make g++ \ + && yarn install \ + && apk del .gyp + COPY ["src/", "./src"] RUN npm run Prod