mirror of
https://github.com/tuna2134/cecilia.git
synced 2026-02-06 14:42:40 +00:00
chore: improve Dockerfile build command formatting and add logging in header component
This commit is contained in:
@@ -9,7 +9,8 @@ COPY pnpm-lock.yaml package.json .
|
|||||||
RUN pnpm install --frozen-lockfile
|
RUN pnpm install --frozen-lockfile
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN --mount=type=cache,target=/src/.next pnpm build \
|
RUN --mount=type=cache,target=/src/.next \
|
||||||
|
pnpm build \
|
||||||
&& cp -r /src/.next /complete
|
&& cp -r /src/.next /complete
|
||||||
|
|
||||||
FROM gcr.io/distroless/nodejs22-debian12
|
FROM gcr.io/distroless/nodejs22-debian12
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ const SNSIcons = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
const Header: React.FC = async () => {
|
const Header: React.FC = async () => {
|
||||||
|
console.log(process.env);
|
||||||
const res = await fetch(
|
const res = await fetch(
|
||||||
"https://discord.com/api/v10/users/739702692393517076",
|
"https://discord.com/api/v10/users/739702692393517076",
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user