Added Dockerfiles and scripts to run the dev build of Colossus through Docker
This commit is contained in:
4
bin/docker-build.sh
Executable file
4
bin/docker-build.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
docker build -t colossus-php .
|
||||
docker build -t colossus-grunt -f Dockerfile.grunt .
|
4
bin/docker-run.sh
Executable file
4
bin/docker-run.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
docker run --rm -d -w "/usr/src/colossus" -v "$(pwd):/usr/src/colossus" -p 8080:8080 --name colossus-php colossus-php
|
||||
docker run --rm -d -w "/usr/src/colossus" -v "$(pwd):/usr/src/colossus" --name colossus-grunt colossus-grunt npm run grunt watch
|
Reference in New Issue
Block a user