From 0be32c8d7226f12b6c0911f447866187bd06880f Mon Sep 17 00:00:00 2001 From: Paul Bailey Date: Wed, 3 Dec 2025 01:34:25 +0000 Subject: [PATCH] Force clean rebuild in Docker to fix webpack errors --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1f66fd6..20f1a44 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,14 +4,18 @@ RUN apt-get update && apt-get install -y openssl ca-certificates && rm -rf /var/ WORKDIR /app +# Clean install COPY package*.json ./ -RUN npm ci +RUN rm -rf node_modules package-lock.json +RUN npm install COPY . . +RUN rm -rf .next RUN npx prisma generate ENV NEXT_TELEMETRY_DISABLED=1 ENV AUTH_TRUST_HOST=true +ENV NODE_ENV=development EXPOSE 3000