mirror of
https://git.cloudron.io/cloudron/gitea-app.git
synced 2024-11-25 01:21:00 +00:00
Remove source code after build
This commit is contained in:
parent
617f110ee3
commit
e82afb3ffc
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue