mirror of
https://github.com/iLay1678/i-tools.git
synced 2025-07-03 18:52:17 +08:00
update docker
This commit is contained in:
parent
f60b07700f
commit
b27a5a61fa
2
.github/workflows/docker-build.yml
vendored
2
.github/workflows/docker-build.yml
vendored
@ -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
|
||||
|
@ -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"]
|
||||
CMD ["node",".output/server/index.mjs"]
|
@ -16,7 +16,7 @@
|
||||
<div class="space-y-8">
|
||||
<div class="space-y-2">
|
||||
<div class="relative">
|
||||
<textarea id="accessToken" v-model="accessToken"
|
||||
<a-textarea :rows="5" id="accessToken" :value="accessToken"
|
||||
class="w-full rounded font-mono text-sm leading-normal border-2 border-dashed border-gray-300 p-3 pr-10 bg-white resize-none focus:outline-none focus:border-blue-500 transition-colors min-h-[120px] whitespace-pre-wrap overflow-auto placeholder:text-gray-400"
|
||||
readonly spellcheck="false" placeholder="访问令牌" />
|
||||
<button data-clipboard-target="#accessToken" :class="`absolute top-2 right-2 p-1 rounded transition-colors ${hasAccessToken
|
||||
@ -34,7 +34,7 @@
|
||||
|
||||
<div class="space-y-2">
|
||||
<div class="relative">
|
||||
<textarea id="refreshToken" v-model="refreshToken"
|
||||
<a-textarea :rows="4" id="refreshToken" :value="refreshToken"
|
||||
class="w-full rounded font-mono text-sm leading-normal border-2 border-dashed border-gray-300 p-3 pr-10 bg-white resize-none focus:outline-none focus:border-blue-500 transition-colors min-h-[120px] whitespace-pre-wrap overflow-auto placeholder:text-gray-400"
|
||||
readonly spellcheck="false" placeholder="刷新令牌" />
|
||||
<button data-clipboard-target="#refreshToken" :class="`absolute top-2 right-2 p-1 rounded transition-colors ${hasRefreshToken
|
||||
|
Loading…
x
Reference in New Issue
Block a user