From 3b01892d85df498f1c0d87b84e2943440b81ad8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=B4=8A=E1=B4=8F=E1=B4=87=20=E1=B4=84=CA=9C=E1=B4=87?= =?UTF-8?q?=C9=B4?= Date: Sat, 31 Jan 2026 13:02:25 -0500 Subject: [PATCH] fix(docker): correct binary path in Dockerfiles(#8125) Co-authored-by: Claude Opus 4.5 --- Dockerfile | 4 ++-- Dockerfile.next | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c31b1b5f3..377ae2070 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,14 +25,14 @@ RUN apk --no-cache --no-progress add \ tzdata \ rsync -ENV GOGS_CUSTOM /data/gogs +ENV GOGS_CUSTOM=/data/gogs # Configure LibC Name Service COPY docker/nsswitch.conf /etc/nsswitch.conf WORKDIR /app/gogs COPY docker ./docker -COPY --from=binarybuilder /gogs.io/gogs/gogs . +COPY --from=binarybuilder /gogs.io/gogs/.bin/gogs . RUN ./docker/build/finalize.sh diff --git a/Dockerfile.next b/Dockerfile.next index c33dde920..465bbd924 100644 --- a/Dockerfile.next +++ b/Dockerfile.next @@ -31,7 +31,7 @@ RUN apk --no-cache --no-progress add \ ENV GOGS_CUSTOM=/data/gogs WORKDIR /app/gogs -COPY --from=binarybuilder /gogs.io/gogs/gogs . +COPY --from=binarybuilder /gogs.io/gogs/.bin/gogs . COPY docker-next/start.sh . RUN chmod +x start.sh && \ mkdir -p /data && \