Added Dockerfiles and scripts to run the dev build of Colossus through Docker

This commit is contained in:
Gregory Ballantine
2023-07-05 13:52:15 -04:00
parent d6a72fcee3
commit 408b3baf8f
5 changed files with 47 additions and 1 deletions

4
bin/docker-build.sh Executable file
View 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
View 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