Update Dockerfile

This commit is contained in:
Sah 2015-01-02 12:42:45 +08:00
parent 000fb4c307
commit a74f6ddb80

View file

@ -1,12 +1,12 @@
FROM ubuntu:latest FROM ubuntu:latest
ENV METHOD "aes-256-cfb" ENV METHOD aes-256-cfb
ENV KEY "Change Me!" ENV KEY Change Me!
ENV PORT 8388 ENV PORT 8388
EXPOSE $PORT EXPOSE $PORT
CMD ssserver -p $PORT -m "$METHOD" -k "$KEY" CMD ssserver -p "$PORT" -m "$METHOD" -k "$KEY"
RUN apt-get update RUN apt-get update
RUN apt-get install -y python-pip RUN apt-get install -y python-pip