From d5e6da528624bcb5de60766b650b59f877bf8268 Mon Sep 17 00:00:00 2001 From: kevchess15 Date: Thu, 3 Sep 2026 06:09:59 +0000 Subject: [PATCH] Add Dockerfile --- Dockerfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000..4f14ded757 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +FROM node:22-bookworm + +WORKDIR /app + +# Enable pnpm automatically +RUN corepack enable && corepack prepare pnpm@latest --activate + +# Copy repository source code +COPY . . + +# Install dependencies and build +RUN pnpm install +RUN pnpm run build + +# Expose Web UI port and bind to all network interfaces +ENV HOST=0.0.0.0 +ENV PORT=3080 +EXPOSE 3080 + +CMD ["pnpm", "dsh", "web"] \ No newline at end of file