From e82afb3ffc213c84cf8b93f0f26a44d424d157a1 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 24 Jun 2015 15:46:44 -0700 Subject: [PATCH] Remove source code after build --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fe814bb..345f234 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,8 +19,8 @@ RUN mkdir -p ${GOPATH}/src/github.com/gogits && \ go install && \ mv ${GOPATH}/bin/gogs /home/cloudron/gogs/ && \ cp -r ${GOPATH}/src/github.com/gogits/gogs/templates/ /home/cloudron/gogs/. && \ - cp -r ${GOPATH}/src/github.com/gogits/gogs/public/ /home/cloudron/gogs/. -# rm -rf ${GOPATH} + cp -r ${GOPATH}/src/github.com/gogits/gogs/public/ /home/cloudron/gogs/. && \ + rm -rf ${GOPATH} ADD app.ini.template /home/cloudron/app.ini.template ADD start.sh /home/cloudron/start.sh