diff --git a/Dockerfile b/Dockerfile index 500a294f361..a7ff05fe3f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,4 +19,4 @@ RUN ./docker/build.sh VOLUME ["/data"] EXPOSE 22 3000 ENTRYPOINT ["docker/start.sh"] -CMD ["/usr/bin/s6-svscan", "/app/gogs/docker/s6/"] +CMD ["/bin/s6-svscan", "/app/gogs/docker/s6/"] diff --git a/docker/start.sh b/docker/start.sh index 041beba5bfd..042bdd05d5c 100755 --- a/docker/start.sh +++ b/docker/start.sh @@ -52,5 +52,5 @@ fi if [ $# -gt 0 ];then exec "$@" else - exec /usr/bin/s6-svscan /app/gogs/docker/s6/ + exec /bin/s6-svscan /app/gogs/docker/s6/ fi