omar0scarf commited on
Commit
001773d
·
verified ·
1 Parent(s): ae99f82

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -5
Dockerfile CHANGED
@@ -14,15 +14,17 @@ RUN apt-get update && \
14
  WORKDIR /app
15
 
16
  # استنساخ المشروع
17
- RUN git clone https://github.com/omarvip212/bot0.git
 
 
 
 
 
 
18
 
19
  # تثبيت الاعتماديات
20
- COPY package*.json ./
21
  RUN npm install --force
22
 
23
- # نسخ باقي الملفات
24
- COPY . .
25
-
26
  # تعيين الصلاحيات
27
  RUN chmod -R 777 /app
28
 
 
14
  WORKDIR /app
15
 
16
  # استنساخ المشروع
17
+ RUN git clone https://github.com/omarvip212/bot0.git .
18
+
19
+ # الانتقال إلى المجلد الصحيح
20
+ WORKDIR /app/bot0
21
+
22
+ # نسخ ملف package.json
23
+ COPY package.json ./
24
 
25
  # تثبيت الاعتماديات
 
26
  RUN npm install --force
27
 
 
 
 
28
  # تعيين الصلاحيات
29
  RUN chmod -R 777 /app
30