fix(build): add env variable for node production

This commit is contained in:
smyalygames 2023-02-27 22:03:58 +00:00
parent 2909d5cc8d
commit 68cff288e0

View File

@ -15,6 +15,8 @@ RUN npx prisma generate
RUN npm run build RUN npm run build
ENV NODE_ENV=production
RUN chown node:node /opt/app/ RUN chown node:node /opt/app/
USER node USER node