add opa to build for deployment policies initialization

This commit is contained in:
sbriat 2023-03-10 16:46:19 +01:00
parent b62fce3b85
commit 85b6e5e678
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/prisma ./prisma
COPY --chown=node:node --from=build /usr/src/app/dist ./dist
COPY --chown=node:node ./opa opa
# Start the server using the production build
CMD [ "node", "dist/main.js" ]