Merge branch 'addOpaToBuild' into 'main'

add opa to build for deployment policies initialization

See merge request v3/service/auth!20
This commit is contained in:
Sylvain Briat 2023-03-10 15:49:27 +00:00
commit 64f11b52fd
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ COPY --chown=node:node package*.json ./
COPY --chown=node:node --from=build /usr/src/app/node_modules ./node_modules COPY --chown=node:node --from=build /usr/src/app/node_modules ./node_modules
COPY --chown=node:node --from=build /usr/src/app/prisma ./prisma COPY --chown=node:node --from=build /usr/src/app/prisma ./prisma
COPY --chown=node:node --from=build /usr/src/app/dist ./dist COPY --chown=node:node --from=build /usr/src/app/dist ./dist
COPY --chown=node:node ./opa opa
# Start the server using the production build # Start the server using the production build
CMD [ "node", "dist/main.js" ] CMD [ "node", "dist/main.js" ]