ci: disable opencollective in backend Dockerfile
Some checks are pending
Deploy Canina / deploy (push) Waiting to run
Some checks are pending
Deploy Canina / deploy (push) Waiting to run
This commit is contained in:
parent
cacb6341f0
commit
f051f094ea
@ -4,6 +4,7 @@ RUN http_proxy=http://172.17.0.1:8888 https_proxy=http://172.17.0.1:8888 apk add
|
||||
WORKDIR /app
|
||||
ENV PRISMA_SKIP_POSTINSTALL_GENERATE=true
|
||||
ENV PRISMA_ENGINES_MIRROR=https://registry.npmmirror.com/-/binary/prisma
|
||||
ENV DISABLE_OPENCOLLECTIVE=1
|
||||
|
||||
# Optional: Use Nexus as npm registry (pass --build-arg NPM_REGISTRY=http://nexus:8081/repository/npm/)
|
||||
ARG NPM_REGISTRY=
|
||||
@ -14,7 +15,7 @@ RUN if [ -n "$NPM_REGISTRY" ]; then \
|
||||
fi
|
||||
|
||||
COPY package*.json ./
|
||||
RUN http_proxy=http://172.17.0.1:8888 https_proxy=http://172.17.0.1:8888 no_proxy=172.17.0.2,localhost,127.0.0.1 npm ci --prefer-offline --no-audit
|
||||
RUN http_proxy=http://172.17.0.1:8888 https_proxy=http://172.17.0.1:8888 DISABLE_OPENCOLLECTIVE=1 npm ci --prefer-offline --no-audit
|
||||
COPY . .
|
||||
RUN http_proxy=http://172.17.0.1:8888 https_proxy=http://172.17.0.1:8888 ./node_modules/.bin/prisma generate && npm run build
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user