lljz66 commited on
Commit
7da6aba
·
verified ·
1 Parent(s): debf6e0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -12,13 +12,14 @@ WORKDIR /app
12
 
13
  COPY package*.json ./
14
  RUN npm install --production
15
-
16
  RUN npx playwright install chromium
17
  RUN npx playwright install-deps
18
 
19
  COPY . .
20
 
21
- RUN mkdir -p /app/data
 
 
22
 
23
  ENV PORT=7860
24
  EXPOSE 7860
 
12
 
13
  COPY package*.json ./
14
  RUN npm install --production
 
15
  RUN npx playwright install chromium
16
  RUN npx playwright install-deps
17
 
18
  COPY . .
19
 
20
+ # إنشاء كل المجلدات المطلوبة مع صلاحيات الكتابة
21
+ RUN mkdir -p /app/data /app/bl-tmp /app/public
22
+ RUN chmod -R 777 /app/bl-tmp /app/data /app/public
23
 
24
  ENV PORT=7860
25
  EXPOSE 7860