fix(docker): ensure /app/node_modules/.prisma directory is created before prisma generate
Some checks failed
Deploy Canina / deploy (push) Failing after 23s
Some checks failed
Deploy Canina / deploy (push) Failing after 23s
This commit is contained in:
parent
30670d7f6d
commit
c8f3ce0cde
@ -15,7 +15,7 @@ RUN if [ -n "$NPM_REGISTRY" ]; then \
|
||||
COPY package*.json ./
|
||||
RUN npm ci --prefer-offline --no-audit
|
||||
COPY . .
|
||||
RUN rm -rf dist && https_proxy=http://172.17.0.1:8888 http_proxy=http://172.17.0.1:8888 ./node_modules/.bin/prisma generate && npm run build
|
||||
RUN mkdir -p /app/node_modules/.prisma && rm -rf dist && 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
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
2
graphify-out/cache/stat-index.json
vendored
2
graphify-out/cache/stat-index.json
vendored
File diff suppressed because one or more lines are too long
28364
graphify-out/graph.json
28364
graphify-out/graph.json
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user