FauziIsyrinApridal commited on
Commit
58f62ce
·
1 Parent(s): 15d87f8

fix docker

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -25,6 +25,11 @@ RUN pip install --no-cache-dir -r requirements.txt
25
  # Build Next.js app
26
  RUN npm run build
27
 
 
 
 
 
 
28
  # Port for HF Spaces
29
  EXPOSE 7860
30
 
 
25
  # Build Next.js app
26
  RUN npm run build
27
 
28
+ # Fix permissions for .next directory
29
+ RUN mkdir -p /app/.next/cache && \
30
+ chown -R 1000:1000 /app/.next
31
+
32
+
33
  # Port for HF Spaces
34
  EXPOSE 7860
35