forked from cloudron-apps/gitea-app
Copy templates and public dirs to install dir
This commit is contained in:
parent
adbbfba7c3
commit
11ec21b0fb
1 changed files with 3 additions and 1 deletions
|
@ -17,7 +17,9 @@ RUN mkdir -p ${GOPATH}/src/github.com/gogits && \
|
||||||
go get ./... && \
|
go get ./... && \
|
||||||
go build && \
|
go build && \
|
||||||
go install && \
|
go install && \
|
||||||
mv ${GOPATH}/bin/gogs /home/cloudron/gogs/
|
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/.
|
||||||
|
|
||||||
ADD app.ini.template /home/cloudron/app.ini.template
|
ADD app.ini.template /home/cloudron/app.ini.template
|
||||||
ADD start.sh /home/cloudron/start.sh
|
ADD start.sh /home/cloudron/start.sh
|
||||||
|
|
Loading…
Reference in a new issue