Remove postinstall script (#3027)

This commit is contained in:
Lion - dapplion
2021-08-27 02:52:32 +02:00
committed by GitHub
parent 3a1c8e9083
commit cd6e6a4f3b
12 changed files with 14 additions and 12 deletions

View File

@@ -28,7 +28,7 @@ COPY package.json yarn.lock ./
RUN yarn install --non-interactive --frozen-lockfile --ignore-scripts
COPY . .
RUN yarn install --non-interactive --frozen-lockfile
RUN yarn install --non-interactive --frozen-lockfile && yarn build
# Copy built src + node_modules to a new layer to prune unnecessary fs
# Previous layer weights 7.25GB, while this final 488MB (as of Oct 2020)