hello-world.sh

This commit is contained in:
Stefan Liebl 2020-07-02 19:29:03 +02:00
parent b7b72a1ae3
commit bc57016ab7
2 changed files with 4 additions and 1 deletions

View File

@ -3,4 +3,6 @@ version: '3'
services:
hello_world:
image: alpine:latest
command: [/bin/echo, 'Hello world']
volumes:
- ./hello-world.sh:/opt/hello-world.sh:ro
command: /bin/sh /opt/hello-world.sh

1
hello-world.sh Executable file
View File

@ -0,0 +1 @@
echo "Hello World"