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