second
فشلت بعض الفحوصات
/ deploy (push) Has been skipped
/ build_and_push_image (push) Failing after 10s

هذا الالتزام موجود في:
2025-10-23 17:29:28 +03:00
الأصل ddf6e561f5
التزام 31977b98c7
13 ملفات معدلة مع 504 إضافات و0 حذوفات

42
Dockerfile Normal file
عرض الملف

@@ -0,0 +1,42 @@
<<<<<<< HEAD
#(Base Image)
FROM python:3.11-slim
#(here /app mean name in the fastAPI i used)
WORKDIR /app
#(Copy and Install Dependancies/Libraries)
COPY Docker_API/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
#(Copy all files after install dependancies)
COPY . .
#(Port my app listen to )
EXPOSE 8000
#(Run app/file)
CMD ["uvicorn", "API:app", "--host", "0.0.0.0", "--port", "8000", "--log-config", "Log.yaml"]
=======
#(Base Image)
FROM python:3.11-slim
#(here /app mean name in the fastAPI i used)
WORKDIR /app
#(Copy and Install Dependancies/Libraries)
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
#(Copy all files after install dependancies)
COPY . .
#(Port my app listen to )
EXPOSE 8000
#(Run app/file)
CMD ["uvicorn", "API:app", "--host", "0.0.0.0", "--port", "8000", "--log-config", "Log.yaml"]
>>>>>>> origin/scripts