remove libraries we don't need in docker build (#10443)

This commit is contained in:
chris48s
2024-08-15 23:35:26 +01:00
committed by GitHub
parent 8df3f70da9
commit 15599ca4f5

View File

@@ -8,7 +8,6 @@ COPY package.json package-lock.json /usr/src/app/
# Without the badge-maker package.json and CLI script in place, `npm ci` will fail.
COPY badge-maker /usr/src/app/badge-maker/
RUN apk add python3 make g++
RUN npm install -g "npm@^9.0.0"
# We need dev deps to build the front end. We don't need Cypress, though.
RUN NODE_ENV=development CYPRESS_INSTALL_BINARY=0 npm ci