We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4271dc1 commit 89b1a1cCopy full SHA for 89b1a1c
Makefile
@@ -30,6 +30,21 @@ help:
30
build: ## Build the container
31
@docker build --platform $(PLATFORM) -t $(IMG_NAME) .
32
33
+simulation: ## Start production environment in simulation mode
34
+ @docker run --rm -it \
35
+ -e NODE_ENV=production \
36
+ -e NODE_TLS_REJECT_UNAUTHORIZED=0 \
37
+ --add-host host.docker.internal:host-gateway \
38
+ --platform $(PLATFORM) \
39
+ --network dev \
40
+ --name $(APP_NAME) \
41
+ -p $(APP_WEB_PORT):3000 \
42
+ -p $(APP_WEB_PORT_SECURE):3443 \
43
+ -p $(APP_API_PORT):4000 \
44
+ -p $(APP_API_PORT_SECURE):4443 \
45
+ -v $(CURDIR):/data \
46
+ $(IMG_NAME)
47
+
48
prod: ## Start production environment
49
@docker run --rm -it \
50
-e NODE_ENV=production \
0 commit comments