update
This commit is contained in:
parent
02e098487f
commit
e0f604ea31
0
.eslintrc.json
Normal file → Executable file
0
.eslintrc.json
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
1
Dockerfile
Normal file → Executable file
1
Dockerfile
Normal file → Executable file
@ -55,6 +55,7 @@ RUN adduser --system --uid 1001 nextjs
|
|||||||
# 复制构建的应用和依赖项
|
# 复制构建的应用和依赖项
|
||||||
COPY --from=builder /app/next.config.js ./
|
COPY --from=builder /app/next.config.js ./
|
||||||
COPY --from=builder /app/.next/standalone ./
|
COPY --from=builder /app/.next/standalone ./
|
||||||
|
COPY --from=builder /app/start.sh ./
|
||||||
COPY --from=builder /app/.next/static ./.next/static
|
COPY --from=builder /app/.next/static ./.next/static
|
||||||
|
|
||||||
# 设置正确的权限
|
# 设置正确的权限
|
||||||
|
0
app/api/shorten/route.ts
Normal file → Executable file
0
app/api/shorten/route.ts
Normal file → Executable file
0
app/api/url/[shortCode]/route.ts
Normal file → Executable file
0
app/api/url/[shortCode]/route.ts
Normal file → Executable file
0
app/favicon.ico
Normal file → Executable file
0
app/favicon.ico
Normal file → Executable file
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
0
app/fonts/GeistMonoVF.woff
Normal file → Executable file
0
app/fonts/GeistMonoVF.woff
Normal file → Executable file
0
app/fonts/GeistVF.woff
Normal file → Executable file
0
app/fonts/GeistVF.woff
Normal file → Executable file
0
app/globals.css
Normal file → Executable file
0
app/globals.css
Normal file → Executable file
0
app/layout.tsx
Normal file → Executable file
0
app/layout.tsx
Normal file → Executable file
0
app/page.tsx
Normal file → Executable file
0
app/page.tsx
Normal file → Executable file
0
app/s/[shortCode]/page.tsx
Normal file → Executable file
0
app/s/[shortCode]/page.tsx
Normal file → Executable file
0
components.json
Normal file → Executable file
0
components.json
Normal file → Executable file
0
components/Redirect.tsx
Normal file → Executable file
0
components/Redirect.tsx
Normal file → Executable file
0
components/ShortUrlForm.tsx
Normal file → Executable file
0
components/ShortUrlForm.tsx
Normal file → Executable file
0
components/ui/card.tsx
Normal file → Executable file
0
components/ui/card.tsx
Normal file → Executable file
0
components/ui/progress.tsx
Normal file → Executable file
0
components/ui/progress.tsx
Normal file → Executable file
0
components/ui/skeleton.tsx
Normal file → Executable file
0
components/ui/skeleton.tsx
Normal file → Executable file
0
lib/env.ts
Normal file → Executable file
0
lib/env.ts
Normal file → Executable file
0
lib/utils.ts
Normal file → Executable file
0
lib/utils.ts
Normal file → Executable file
3
next.config.js
Normal file → Executable file
3
next.config.js
Normal file → Executable file
@ -1,9 +1,6 @@
|
|||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
output: 'standalone',
|
output: 'standalone',
|
||||||
experimental: {
|
|
||||||
serverActions: true,
|
|
||||||
},
|
|
||||||
// 启用运行时配置
|
// 启用运行时配置
|
||||||
serverRuntimeConfig: {
|
serverRuntimeConfig: {
|
||||||
// 将在服务器端可用
|
// 将在服务器端可用
|
||||||
|
0
package-lock.json
generated
Normal file → Executable file
0
package-lock.json
generated
Normal file → Executable file
0
package.json
Normal file → Executable file
0
package.json
Normal file → Executable file
0
postcss.config.mjs
Normal file → Executable file
0
postcss.config.mjs
Normal file → Executable file
0
tailwind.config.ts
Normal file → Executable file
0
tailwind.config.ts
Normal file → Executable file
0
tsconfig.json
Normal file → Executable file
0
tsconfig.json
Normal file → Executable file
Loading…
Reference in New Issue
Block a user