diff --git a/Dockerfile b/Dockerfile index 588051c..d55b48a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +23,7 @@ RUN apk add --no-cache ca-certificates WORKDIR /opt # Copy binary into a standard location -COPY --from=builder /bin/telegram-approval-join /usr/local/bin/telegram-approval-join +COPY --from=builder /bin/telegram-join-approval-nuzzles /usr/local/bin/telegram-approval-join # Create a non-root user and group with specific UID:GID and set ownership RUN addgroup -g 65532 app && \ diff --git a/scripts/sync.sh b/scripts/sync.sh index 670375f..2714172 100755 --- a/scripts/sync.sh +++ b/scripts/sync.sh @@ -36,7 +36,7 @@ rm -rf "$ROOT_DIR/cmd" "$ROOT_DIR/internal" "$ROOT_DIR/Dockerfile" "$ROOT_DIR/go # Copy source files, excluding .git and keeping patches/ and scripts/ rsync -a --stats --exclude='.git' --exclude='internal/telegram-approval-join' \ "$SUBMODULE_DIR/" "$ROOT_DIR/" \ - --exclude='patches' --exclude='scripts' --exclude='README.md' + --exclude='patches' --exclude='scripts' --exclude='README.md' --exclude='Dockerfile' # Remove scripts/ from .gitignore so we can track our sync script sed -i '/^scripts\/$/d' "$ROOT_DIR/.gitignore"