Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
anscor committed Apr 28, 2024
1 parent 1327ac5 commit be2fb79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ if [ -d "${DEFAULT_PLUGINS}" ]; then
fi

node .

tail -f /dev/null

0 comments on commit be2fb79

Please sign in to comment.