fix: copy entrypoint into quest container. Disable mounting for entrypoint & public key. Use Env to pass ssh public key into container.

This commit is contained in:
Justin Lin committed 2024-10-21 11:54:32 +08:00
1 parent 860b257ea7
commit 1888781a47
5 files changed
+32 -23

No files matched your search

+1 -4
View File
@@ -13,15 +13,12 @@ services:
base:
image: linuxodyssey/quest-base
networks:
- players
- players
build:
context: .
dockerfile: ./quests/Dockerfile
extra_hosts:
- 'host.docker.internal:host-gateway'
volumes:
# - ./config/ssh_key.pub:/ssh_key.pub:ro
- ./quests/entrypoint.sh:/entrypoint.sh:ro
networks:
internal: