Builds Docker image of backend component with multi-stage Dockerfile

Updates package.json `npm start` command
Delete unnecessary `npm run start` commands

Signed-off-by: Shakar <[email protected]>
This commit is contained in:
Shakar
2023-02-26 14:50:49 +03:00
parent 0f143adbde
commit 23418b3a09
3 changed files with 18 additions and 9 deletions
+1 -2
View File
@@ -1,4 +1,4 @@
version: '3'
version: "3"
services:
nginx:
@@ -22,7 +22,6 @@ services:
depends_on:
- mongo
image: infisical/backend
command: npm run start
env_file: .env
environment:
- NODE_ENV=production