Update Dockerfile

This commit is contained in:
Sah 2015-01-03 18:52:50 +08:00
parent a74f6ddb80
commit b9d6ca6e43

View file

@ -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