Update Dockerfile
This commit is contained in:
parent
1898b53fc7
commit
239e5a9b80
1 changed files with 8 additions and 4 deletions
|
@ -1,9 +1,13 @@
|
|||
FROM ubuntu:latest
|
||||
|
||||
ENV PORT "8388"
|
||||
ENV METHOD "aes-256-cfb"
|
||||
ENV KEY "changeme"
|
||||
|
||||
EXPOSE "$PORT"
|
||||
|
||||
CMD ssserver -p "$PORT" -m "$METHOD" -k "$KEY"
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y python-pip
|
||||
RUN pip install shadowsocks
|
||||
|
||||
EXPOSE 8388
|
||||
|
||||
CMD ssserver -p 8388 -m "aes-256-cfb" -k "$KEY"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue