This commit is contained in:
bel
2021-09-14 06:29:17 -06:00
commit a71c585675
36 changed files with 700 additions and 0 deletions

15
mytinytodo/build_and_run.sh Executable file
View File

@@ -0,0 +1,15 @@
#! /bin/bash
img="php"
tag="7.1.26-alpine3.9"
docker pull $img:$tag
cp $PWD/entrypoint.sh $PWD/mnt/entrypoint.sh
docker run --rm -it \
--entrypoint sh \
--name ${img##*/} \
-p 8345:8080 \
-v $(pwd)/mnt:/mnt \
$img:$tag \
/mnt/entrypoint.sh