myspace / Dockerfile
Abde2207's picture
Create Dockerfile
a3ff9e5 verified
raw
history blame contribute delete
349 Bytes
# استخدام نسخة بايثون رسمية
FROM python:3.9
# إنشاء مجلد العمل
WORKDIR /code
# نسخ ملف المتطلبات وتثبيتها
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# نسخ باقي ملفات المشروع
COPY . .
# تشغيل التطبيق
CMD ["python", "app.py"]