Update Dockerfile

This commit is contained in:
Sah 2015-01-03 21:26:17 +08:00
parent 49adad89bf
commit a10f679a4a

View file

@ -17,6 +17,7 @@ RUN python setup.py build
RUN python setup.py install RUN python setup.py install
# Tear down building environment and delete git repository # Tear down building environment and delete git repository
WORKDIR $BASEDIR
RUN apt-get --purge autoremove -y git-core python python-setuptools RUN apt-get --purge autoremove -y git-core python python-setuptools
RUN rm -rf $BASEDIR/shadowsocks RUN rm -rf $BASEDIR/shadowsocks
@ -28,4 +29,4 @@ VOLUME ["$CONF"]
ENV PORT 8388 ENV PORT 8388
EXPOSE $PORT EXPOSE $PORT
CMD /usr/local/bin/ssserver -c $CONF -p $PORT CMD ssserver -c $CONF -p $PORT