Add script
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
services:
|
services:
|
||||||
myservice:
|
script:
|
||||||
build: .
|
image: 'ubuntu:21.04'
|
||||||
container_name: escape-room
|
working_dir: /path/to/where/you/want/to/mount/script/
|
||||||
|
volumes:
|
||||||
|
- '/data/schule/startup.sh:/data/startup.sh'
|
||||||
|
command:
|
||||||
|
- 'bash /data/startup.sh'
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- '22:22'
|
||||||
|
|||||||
Reference in New Issue
Block a user