From be2fb79e5e9d7e7f849e8615304a28e93174a8f9 Mon Sep 17 00:00:00 2001 From: anscor Date: Sun, 28 Apr 2024 18:46:59 +0800 Subject: [PATCH] 1 --- Dockerfile | 2 -- docker-entrypoint.sh | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) 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