Skip to content

Commit

Permalink
Fix docker (#207)
Browse files Browse the repository at this point in the history
* share network

* build image before runing
  • Loading branch information
MateoLostanlen authored Jun 17, 2024
1 parent d8d6082 commit 97ec80c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ build-optional-lib:
# Run the engine wrapper
run:
bash scripts/setup-docker-compose.sh
docker build . -t pyronear/pyro-engine:latest
docker compose up -d

# Get log from engine wrapper
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ services:
volumes:
- ./data:/usr/src/app/data
restart: always
network_mode: host
deploy:
resources:
limits:
Expand Down

0 comments on commit 97ec80c

Please sign in to comment.