diff --git a/Dockerfile b/Dockerfile
index 3304ffc..3769173 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,6 +6,8 @@ ENV GOPROXY=https://goproxy.cn
 WORKDIR $GOPATH/src/github.com/smartoilets/gateway
 COPY . $GOPATH/src/github.com/smartoilets/gateway
 RUN go build -o ygw *.go 
+#删除不必要的内容
+RUN rm -f *.go && rm -f Dockerfile && rm -f README.md
  
 EXPOSE 10086
 ENTRYPOINT ["./ygw"]
\ No newline at end of file