mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
udp Dockerfile: pass on docker cli arguments to tracker
This commit is contained in:
parent
414af5a26f
commit
55646d33b9
1 changed files with 2 additions and 2 deletions
|
|
@ -31,10 +31,10 @@ COPY --from=builder /usr/src/aquatic/target/release/aquatic_udp ./
|
|||
# Create entry point script for setting config and access
|
||||
# list file contents at runtime
|
||||
COPY <<-"EOT" ./entrypoint.sh
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
echo "$CONFIG_FILE_CONTENTS" > ./config.toml
|
||||
echo "$ACCESS_LIST_CONTENTS" > ./access-list.txt
|
||||
exec ./aquatic_udp -P -c ./config.toml
|
||||
exec ./aquatic_udp -c ./config.toml "$@"
|
||||
EOT
|
||||
|
||||
RUN chmod +x ./entrypoint.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue