From 03b720cf2205f7feead7dad74b475541751553c0 Mon Sep 17 00:00:00 2001 From: Ntchinda-Giscard Date: Sat, 25 May 2024 12:05:34 +0100 Subject: [PATCH] alow fastapi --- .dockerignore | 9 --------- Dockerfile | 1 - requirements.txt | 4 +++- 3 files changed, 3 insertions(+), 11 deletions(-) delete mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index de67077..0000000 --- a/.dockerignore +++ /dev/null @@ -1,9 +0,0 @@ -__pycache__/ -*.png -*.jpg -*.jpeg -*.PNG -*.JPG -*.md -test.py -venv/ \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 827a382..3a6e1b9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,6 @@ COPY requirements.txt . # && apt-get install -y --no-install-recommends --no-install-suggests \ # && pip install --no-cache-dir --upgrade pip -RUN pip install --default-timeout=200 future RUN pip install --no-cache-dir -r requirements.txt # Copy the FastAPI app into the container diff --git a/requirements.txt b/requirements.txt index df8a1e5..6569a44 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,6 @@ ultralytics==8.0.26 spacy boto3 python-dotenv -paddleocr \ No newline at end of file +paddleocr +fastapi +uvicorn \ No newline at end of file