Skip to content

Modern Docker Management, Designed for Everyone

chore: simplify docker file

Kyle Mendell0b9a7f5fd6ca
diff --git a/Dockerfile b/Dockerfile
index 48d45d199..e80da9b7c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,7 +3,7 @@ ARG BUILD_TAGS=""
# Stage 1: Build Frontend
FROM node:24 AS frontend-builder
-RUN corepack enable && corepack prepare [email protected] --activate
+RUN corepack enable
WORKDIR /build
@@ -11,11 +11,11 @@ COPY package.json pnpm-workspace.yaml pnpm-lock.yaml ./
COPY frontend/package.json ./frontend/package.json
ENV NODE_OPTIONS="--max-old-space-size=3072"
-RUN pnpm -C frontend install --frozen-lockfile
+RUN pnpm install
COPY frontend ./frontend
ENV BUILD_PATH=dist
-RUN pnpm -C frontend build
+RUN pnpm build
# Stage 2: Build Backend
FROM golang:1.25-alpine AS backend-builder