mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2025-11-15 11:21:57 +00:00
openssl alpine binary for Docker
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
generator client {
|
generator client {
|
||||||
provider = "prisma-client-js"
|
provider = "prisma-client-js"
|
||||||
|
binaryTargets = ["native", "linux-musl-openssl-3.0.x"]
|
||||||
}
|
}
|
||||||
|
|
||||||
datasource db {
|
datasource db {
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ COPY --chown=node:node backend/ ./backend/
|
|||||||
RUN npm cache clean --force &&\
|
RUN npm cache clean --force &&\
|
||||||
rm -rf node_modules ~/.npm /root/.npm &&\
|
rm -rf node_modules ~/.npm /root/.npm &&\
|
||||||
npm install --workspace=backend --ignore-scripts --legacy-peer-deps --no-audit --prefer-online --fetch-retries=3 --fetch-retry-mintimeout=20000 --fetch-retry-maxtimeout=120000 &&\
|
npm install --workspace=backend --ignore-scripts --legacy-peer-deps --no-audit --prefer-online --fetch-retries=3 --fetch-retry-mintimeout=20000 --fetch-retry-maxtimeout=120000 &&\
|
||||||
cd backend && PRISMA_CLI_BINARY_TYPE=binary npm run db:generate &&\
|
cd backend && npx prisma generate &&\
|
||||||
cd .. && npm prune --omit=dev --workspace=backend &&\
|
cd .. && npm prune --omit=dev --workspace=backend &&\
|
||||||
npm cache clean --force
|
npm cache clean --force
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user