Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN npm i -g pnpm
WORKDIR /build

# Copy package configs into working Directory
COPY ./package.json ./pnpm-lock.yaml ./tsconfig.json /build/
COPY ./package.json ./pnpm-lock.yaml ./tsconfig.json ./make.js ./sea-config.json /build/

# Install required packages
RUN pnpm i
Expand All @@ -16,7 +16,7 @@ RUN pnpm i
COPY ./src /build/src

# Compile the project
RUN pnpm run bundle
RUN pnpm run make

# Copy built artifacts and dependencies into a minimal release image
FROM node:current-alpine AS release
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Subscription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export default class Subscription {
}

// Stop searching if we have looked through videosToSearch
if (videosSearched++ >= settings.floatplane.videosToSearch) break;
if (++videosSearched >= settings.floatplane.videosToSearch) break;
}
}

Expand Down