Implemented .env file and integrated env variables into production via production.env and the dotenv npm module

This commit is contained in:
2024-08-03 11:42:23 +03:00
parent 0fc7a2f22e
commit 50f6878502
5 changed files with 26 additions and 2 deletions

View File

@@ -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