mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-01 14:38:59 +00:00
fix(yagpdb): add binary
This commit is contained in:
2 files changed
+5
-5
No files matched your search
@@ -37,7 +37,8 @@ USER container
|
||||
ENV USER=container HOME=/home/container
|
||||
WORKDIR /home/container
|
||||
|
||||
COPY --from=builder /appbuild/yagpdb/cmd/yagpdb/yagpdb yagpdb
|
||||
COPY --from=builder /appbuild/yagpdb/cmd/yagpdb/yagpdb /usr/bin/yagpdb
|
||||
RUN chmod +x /usr/bin/yagpdb
|
||||
|
||||
STOPSIGNAL SIGINT
|
||||
|
||||
|
||||
@@ -26,13 +26,12 @@
|
||||
TZ=${TZ:-UTC}
|
||||
export TZ
|
||||
|
||||
# Set environment variable that holds the Internal Docker IP
|
||||
INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
|
||||
export INTERNAL_IP
|
||||
|
||||
# Switch to the container's working directory
|
||||
cd /home/container || exit 1
|
||||
|
||||
# Add custom binary
|
||||
export PATH=$PATH:/root/.local/bin
|
||||
|
||||
# Convert all of the "{{VARIABLE}}" parts of the command into the expected shell
|
||||
# variable format of "${VARIABLE}" before evaluating the string and automatically
|
||||
# replacing the values.
|
||||
|
||||
Reference in new issue
Block a user