Skip to content

Commit ddfe34a

Browse files
committed
Add checkinstall.sh script copy to Dockerfile and update Makefile for environment variable mappings
1 parent 4d8bb92 commit ddfe34a

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ COPY --from=builder /data/apps/web/nuxt.config.ts ./apps/web/nuxt.config.ts
5858
COPY --from=builder /data/apps/web/src ./apps/web/src
5959
COPY --from=builder /data/apps/web/start.mjs ./apps/web/start.mjs
6060
COPY --from=builder /data/apps/web/entrypoint.sh ./apps/web/entrypoint.sh
61+
COPY --from=builder /data/apps/web/scripts/checkinstall.sh ./apps/web/scripts/checkinstall.sh
6162

6263
EXPOSE 4000 3000
6364

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ simulation: ## Start production environment in simulation mode
4242
-p $(APP_WEB_PORT_SECURE):3443 \
4343
-p $(APP_API_PORT):4000 \
4444
-p $(APP_API_PORT_SECURE):4443 \
45+
-v $(CURDIR)/apps/api/storage:/data/apps/api/storage \
46+
-v $(CURDIR)/.env:/data/.env \
47+
-v $(CURDIR)/apps/api/.env:/data/apps/api/.env \
48+
-v $(CURDIR)/apps/web/.env:/data/apps/web/.env \
4549
$(IMG_NAME)
4650

4751
prod: ## Start production environment

0 commit comments

Comments
 (0)