Skip to content
Snippets Groups Projects
Commit 11cb7d31 authored by Yan Sushchynski (EPAM)'s avatar Yan Sushchynski (EPAM) Committed by Yan Sushchynski (EPAM)
Browse files

fix: reference(Anthos) Prisma generate

parent 9d1d4b4f
No related branches found
No related tags found
1 merge request!604fix: reference(Anthos) Prisma generate
Pipeline #160919 failed
......@@ -33,8 +33,7 @@ RUN apt update \
&& npm install --quiet \
&& npm run build \
&& mkdir artifact \
&& cp -r package.json dist artifact
&& cp -r package.json dist artifact
# -------------------------------
# Package stage
# -------------------------------
......@@ -54,6 +53,9 @@ RUN apk --no-cache add --virtual native-deps g++ gcc libgcc libstdc++ linux-head
&& echo '%appgroup ALL=(ALL) NOPASSWD: /usr/bin/npm' >> /etc/sudoers \
&& echo '%appgroup ALL=(ALL) NOPASSWD: /usr/bin/node' >> /etc/sudoers \
&& npm install --production --quiet \
&& apk del native-deps
&& apk del native-deps \
&& apk add --update --no-cache openssl1.1-compat \
&& npx prisma generate --schema=/seistore-service/src/cloud/providers/anthos/schema.prisma
ENTRYPOINT ["node", "--trace-warnings", "--trace-uncaught", "./dist/server/server-start.js"]
\ No newline at end of file
ENTRYPOINT ["node", "--trace-warnings", "--trace-uncaught", "./dist/server/server-start.js"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment