Browse Source

fix Dockerfile

dev
破娃酱 8 years ago
parent
commit
63cceb29f9
  1. 6
      Dockerfile

6
Dockerfile

@ -22,11 +22,11 @@ RUN apk update \
RUN wget --no-check-certificate https://github.com/breakwa11/shadowsocks/archive/manyuser.zip -O /tmp/manyuser.zip \ RUN wget --no-check-certificate https://github.com/breakwa11/shadowsocks/archive/manyuser.zip -O /tmp/manyuser.zip \
&& unzip -d /tmp /tmp/manyuser.zip \ && unzip -d /tmp /tmp/manyuser.zip \
&& mv /tmp/shadowsocksr-manyuser/shadowsocks ~/shadowsocksr \ && mv /tmp/shadowsocksr-manyuser/shadowsocks ~/shadowsocks \
&& rm -rf /tmp/* && rm -rf /tmp/*
WORKDIR ~/shadowsocksr WORKDIR ~/shadowsocks
CMD python ~/shadowsocksr/server.py -p $SERVER_PORT -k $PASSWORD -m $METHOD -O $PROTOCOL -o $OBFS CMD python ~/shadowsocks/server.py -p $SERVER_PORT -k $PASSWORD -m $METHOD -O $PROTOCOL -o $OBFS

Loading…
Cancel
Save