Use build in compose
parent
2f141ba9c1
commit
af00f3729d
|
@ -2,7 +2,9 @@ version: '3.4'
|
|||
|
||||
services:
|
||||
http-echo:
|
||||
image: mendhak/http-https-echo:latest
|
||||
build:
|
||||
content: ./
|
||||
dockerfile: httpecho.Dockerfile
|
||||
expose:
|
||||
- 8080
|
||||
environment:
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
FROM mendhak/http-https-echo:latest
|
||||
RUN echo "Hello"
|
Loading…
Reference in New Issue