Added shell scripts for managing the docker container
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
778bd25ef2
commit
6d26eea419
3
bin/docker-build.sh
Executable file
3
bin/docker-build.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
docker build -t game-data -f Dockerfile.dev .
|
3
bin/docker-rake.sh
Executable file
3
bin/docker-rake.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
docker exec game-data rake "$@"
|
3
bin/docker-run.sh
Executable file
3
bin/docker-run.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
docker run --rm -d -v "$(pwd):/src" -p 9292:9292 --name game-data game-data
|
Loading…
Reference in New Issue
Block a user