make file
This commit is contained in:
parent
1fd09eaabb
commit
95132b68fd
9
Makefile
Normal file
9
Makefile
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
build:
|
||||||
|
docker build -t php-hell-oworld .
|
||||||
|
|
||||||
|
run:
|
||||||
|
docker run php-hell-oworld
|
||||||
|
|
||||||
|
clean:
|
||||||
|
docker rmi -f php-hell-oworld
|
||||||
|
|
12
Readme.md
Normal file
12
Readme.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# Docker testing
|
||||||
|
```sh
|
||||||
|
docker build -t php-hell-oworld . # build
|
||||||
|
docker run php-hell-oworld # run
|
||||||
|
docker rmi -f php-hell-oworld # clean
|
||||||
|
```
|
||||||
|
|
||||||
|
```sh
|
||||||
|
make build # build -t php-hell-oworld .
|
||||||
|
make run # docker run php-hell-oworld
|
||||||
|
make clean # docker rmi -f php-hell-oworld
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user