From 8b4252873aba886db97f4b62c649cfa505cf56c5 Mon Sep 17 00:00:00 2001 From: Zhang Chao Date: Mon, 25 Apr 2016 07:35:26 +0800 Subject: [PATCH] Fix undefined variable bug in Dockerfile. --- docker/ubuntu/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/ubuntu/Dockerfile b/docker/ubuntu/Dockerfile index e7a03011..2391cddd 100644 --- a/docker/ubuntu/Dockerfile +++ b/docker/ubuntu/Dockerfile @@ -4,7 +4,7 @@ MAINTAINER Sah Lee ENV DEPENDENCIES git-core build-essential autoconf libtool libssl-dev ENV BASEDIR /tmp/shadowsocks-libev -ENV PORT 8338 +ENV SERVER_PORT 8338 # Set up building environment RUN apt-get update \ @@ -23,7 +23,7 @@ RUN rm -rf $BASEDIR/shadowsocks-libev\ && apt-get --purge autoremove -y $DEPENDENCIES # Port in the config file won't take affect. Instead we'll use 8388. -EXPOSE $PORT +EXPOSE $SERVER_PORT EXPOSE $SERVER_PORT/udp # Override the host and port in the config file.