From 6d9084eddc8f817d13cfcc395cd3ad4890f61fbb Mon Sep 17 00:00:00 2001 From: nose221834 <22.t.ichinose.nutfes@gmail.com> Date: Fri, 9 Jun 2023 10:54:31 +0900 Subject: [PATCH] =?UTF-8?q?=E6=9C=AC=E7=95=AA=E7=94=A8=E3=81=AB=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 5 +++++ docker-compose.prod.yml | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/Makefile b/Makefile index 6d794d9..fcd25d6 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,8 @@ build: docker compose build docker compose run --rm view yarn + +build-prod: + sudo docker-compose -f docker-compose.prod.yml build + sudo docker-compose -f docker-compose.prod.yml run --rm view yarn + sudo docker-compose -f docker-compose.prod.yml run --rm view yarn build diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index ac1730e..9de8117 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -1,5 +1,11 @@ version: "3" services: + cloudflare: + image: "cloudflare/cloudflared:latest" + container_name: "nutfes-trapa-web" + volumes: ["./web/prod:/home/nonroot/.cloudflared"] + command: tunnel run + view: build: ./view container_name: "tracking-parking-view"