Implemented .env file and integrated env variables into production via production.env and the dotenv npm module
This commit is contained in:
@@ -8,7 +8,7 @@ RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
RUN npm run build --env-file=production.env
|
||||
RUN npm prune --omit=dev
|
||||
|
||||
FROM node:22.5.1-alpine AS deployer
|
||||
|
||||
Reference in New Issue
Block a user