Fixing docker compose and git_update.sh

This commit is contained in:
Dessalines 2018-12-07 15:50:39 -07:00
parent 8d62b2e367
commit 6aba0cdb17
2 changed files with 2 additions and 2 deletions

View File

@ -3,6 +3,6 @@ version: '2'
services:
torrents-csv:
build: .
command: bash -c "cd /usr/app/server/service; cargo run --release"
command: /bin/sh -c /app/torrents-csv-service
ports:
- "8080:8080"

View File

@ -1,4 +1,4 @@
# This updates the repository from the git repo, and re-caches the torrents.db sqlite file
git pull
git gc
. build_sqlite.sh
./build_sqlite.sh