push runtime init
This commit is contained in:
parent
aac21e45cd
commit
c13fc765b4
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
FROM ghcr.io/shadowsocks/ssserver-rust:v1.17.0
|
||||
|
||||
RUN cp /data/config.json /etc/shadowsocks-rust/config.json
|
||||
# Runtime script copy
|
||||
WORKDIR /root
|
||||
COPY run.sh run.sh
|
||||
RUN chmod +x run.sh
|
||||
|
||||
CMD cp /root/run.sh
|
||||
|
|
2
shadowsocks/run.sh
Normal file
2
shadowsocks/run.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
cp /data/config.json /etc/shadowsocks-rust/config.json
|
Loading…
Reference in a new issue