fix(backend): use proxy during prisma generate and build
Some checks failed
Deploy Canina / deploy (push) Has been cancelled
Some checks failed
Deploy Canina / deploy (push) Has been cancelled
This commit is contained in:
parent
2a69654e96
commit
f3ec164c38
@ -15,7 +15,7 @@ RUN if [ -n "$NPM_REGISTRY" ]; then \
|
||||
COPY package*.json ./
|
||||
RUN npm ci --prefer-offline --no-audit
|
||||
COPY . .
|
||||
RUN ./node_modules/.bin/prisma generate && npm run build
|
||||
RUN https_proxy=http://172.17.0.1:8888 http_proxy=http://172.17.0.1:8888 ./node_modules/.bin/prisma generate && npm run build
|
||||
|
||||
FROM node:20-alpine
|
||||
USER root
|
||||
|
||||
Loading…
Reference in New Issue
Block a user