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