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