Add entrypoint script

This commit is contained in:
Owen Schwartz
2024-09-30 09:43:27 -04:00
parent 0afc01627b
commit 1576856abf
6 changed files with 32 additions and 22 deletions

View File

@@ -3,7 +3,7 @@ all:
docker build -t gerbil .
test:
docker run -it -p 3002:3002 -v ./config_example.json:/config/config.json --cap-add=NET_ADMIN --cap-add=SYS_MODULE gerbil ./gerbil --config /config/config.json
docker run -it -p 3002:3002 -v ./config_example.json:/config/config.json --cap-add=NET_ADMIN --cap-add=SYS_MODULE gerbil --config /config/config.json
local:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o gerbil