From 287011ea0e4e7583f755da68a3a412d2bc43177d Mon Sep 17 00:00:00 2001
From: parsa aghaei
Date: Sat, 15 Aug 2026 16:36:20 +0330
Subject: [PATCH] perf(docker): remove redundant recursive chmod to speed up
frontend build
---
Dockerfile | 1 -
1 file changed, 1 deletion(-)
diff --git a/Dockerfile b/Dockerfile
index 83b9603d..b5341625 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,7 +14,6 @@ RUN if [ -n "$NPM_REGISTRY" ]; then \
COPY frontend/application/package*.json ./
RUN npm ci --include=dev --prefer-offline --no-audit
COPY frontend/application ./
-RUN mkdir -p /app/.next && chmod -R 777 /app
ARG NEXT_PUBLIC_API_URL
ENV NEXT_PUBLIC_API_URL=$NEXT_PUBLIC_API_URL
RUN npm run build