Update Dockerfile
This commit is contained in:
parent
a74f6ddb80
commit
b9d6ca6e43
1 changed files with 5 additions and 4 deletions
|
@ -1,12 +1,13 @@
|
||||||
FROM ubuntu:latest
|
FROM ubuntu:latest
|
||||||
|
MAINTAINER Sah Lee <contact@leesah.name>
|
||||||
ENV METHOD aes-256-cfb
|
|
||||||
ENV KEY Change Me!
|
|
||||||
|
|
||||||
ENV PORT 8388
|
ENV PORT 8388
|
||||||
EXPOSE $PORT
|
EXPOSE $PORT
|
||||||
|
|
||||||
CMD ssserver -p "$PORT" -m "$METHOD" -k "$KEY"
|
ENV CONF /etc/shadowsocks.json
|
||||||
|
VOLUME ["/etc/shadowsocks.json"]
|
||||||
|
|
||||||
|
CMD ssserver -p $PORT -c $CONF
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get install -y python-pip
|
RUN apt-get install -y python-pip
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue