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 && \