Use build in compose
This commit is contained in:
@@ -2,7 +2,9 @@ version: '3.4'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
http-echo:
|
http-echo:
|
||||||
image: mendhak/http-https-echo:latest
|
build:
|
||||||
|
content: ./
|
||||||
|
dockerfile: httpecho.Dockerfile
|
||||||
expose:
|
expose:
|
||||||
- 8080
|
- 8080
|
||||||
environment:
|
environment:
|
||||||
|
2
httpecho.Dockerfile
Normal file
2
httpecho.Dockerfile
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
FROM mendhak/http-https-echo:latest
|
||||||
|
RUN echo "Hello"
|
Reference in New Issue
Block a user