Fix docker build

/app/gitea/gitea is the file, and /usr/local/bin is where the symlink will be located
This commit is contained in:
techknowlogick 2018-07-03 21:25:10 -04:00 committed by GitHub
parent fc53f95f23
commit 47eb2d994a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,4 +58,4 @@ CMD ["/bin/s6-svscan", "/etc/s6"]
COPY docker /
COPY --from=build-env /go/src/code.gitea.io/gitea/gitea /app/gitea/gitea
RUN ln -s /usr/local/bin/gitea /app/gitea/gitea
RUN ln -s /app/gitea/gitea /usr/local/bin/gitea