💚 fixing NODE_ENV weird comportment when build production in doscker env

This commit is contained in:
ChatonDeAru
2024-03-24 12:32:03 +01:00
parent e2381ebf24
commit 9d019c085d
2 changed files with 0 additions and 4 deletions

View File

@@ -3,10 +3,8 @@ FROM node:20-alpine as build-stage
ARG user=node
ARG project_dir=/opt/node_app
ARG NODE_ENV=production
ARG PORT=3000
ENV NODE_ENV $NODE_ENV
ENV PORT $PORT
ENV NODE_OPTIONS="--max_old_space_size=4096"