diff --git a/Dockerfile b/Dockerfile index 0e8ba3b..0be0e23 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,6 @@ FROM busybox:latest AS resource COPY docker-entrypoint.sh /res/entrypoint.sh -COPY app.js /res/app.js RUN dos2unix /res/entrypoint.sh \ && chmod +x /res/entrypoint.sh @@ -42,7 +41,6 @@ RUN REPO_URL=${REPO_URL} \ && pnpm install COPY --from=resource /res/entrypoint.sh /app/Yunzai/entrypoint.sh -COPY --from=resource /res/app.js /app/Yunzai/app.js WORKDIR /app/Yunzai diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index ba41947..4ffb2fd 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -29,3 +29,5 @@ if [ -d "${DEFAULT_PLUGINS}" ]; then fi node . + +tail -f /dev/null