chore: improve Dockerfile build command formatting and add logging in header component

This commit is contained in:
tuna2134
2025-09-09 22:28:33 +09:00
parent ede105fb8c
commit 27b0804f4d
2 changed files with 3 additions and 1 deletions

View File

@@ -9,7 +9,8 @@ COPY pnpm-lock.yaml package.json .
RUN pnpm install --frozen-lockfile
COPY . .
RUN --mount=type=cache,target=/src/.next pnpm build \
RUN --mount=type=cache,target=/src/.next \
pnpm build \
&& cp -r /src/.next /complete
FROM gcr.io/distroless/nodejs22-debian12

View File

@@ -14,6 +14,7 @@ const SNSIcons = [
];
const Header: React.FC = async () => {
console.log(process.env);
const res = await fetch(
"https://discord.com/api/v10/users/739702692393517076",
{