diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 17c2ad4..99ecfe8 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -54,7 +54,7 @@ jobs: uses: docker/build-push-action@v5 with: context: . - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/s390x file: ./Dockerfile push: true tags: ghcr.io/${{ env.OWNER_LC }}/alipan-tv-token:latest diff --git a/Dockerfile b/Dockerfile index 16fa92e..8b2a54d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # 使用官方的 Node.js 镜像作为基础镜像 -FROM oven/bun:latest +FROM node:22.12.0-alpine3.20 # 设置工作目录 WORKDIR /app @@ -14,4 +14,4 @@ COPY .output /app/.output EXPOSE 3000 # 启动应用 -CMD ["bun",".output/server/index.mjs"] \ No newline at end of file +CMD ["node",".output/server/index.mjs"] \ No newline at end of file diff --git a/pages/index.vue b/pages/index.vue index c2886ca..fc51f7a 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -16,7 +16,7 @@
-