We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d5a7b1 commit 80307d9Copy full SHA for 80307d9
Dockerfile
@@ -52,10 +52,12 @@ FROM base AS prod-dependencies
52
WORKDIR /app
53
54
# Build the project
55
-RUN yarn build && \
+RUN apk --no-cache --virtual build-dependencies add g++ make py3-pip && \
56
+ yarn build && \
57
yarn copy-files && \
58
rm -rf node_modules && \
- yarn install --production=true --frozen-lockfile --network-timeout 1000000
59
+ yarn install --production=true --frozen-lockfile --network-timeout 1000000 && \
60
+ apk del build-dependencies
61
62
##############################
63
0 commit comments