feat: use entrypoint to create user account and copy ssh key

This commit is contained in:
Justin Lin committed 2024-10-14 12:06:05 +08:00
1 parent 261c6fc029
commit be22a121c8
4 files changed
+26 -14

No files matched your search

+3
View File
@@ -19,6 +19,9 @@ services:
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: