Skip to content

Commit

Permalink
Merge pull request #42 from NUTFes/feature/nose/issue39
Browse files Browse the repository at this point in the history
本番用に修正
  • Loading branch information
nose221834 authored Jun 11, 2023
2 parents 86611ce + 6d9084e commit 7e33068
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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
6 changes: 6 additions & 0 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 7e33068

Please sign in to comment.