From 0c8816bf63a57c7918f712a348958ba8ff6e6fb5 Mon Sep 17 00:00:00 2001 From: Sefik Ilkin Serengil Date: Thu, 2 Feb 2023 15:08:04 +0000 Subject: [PATCH] current api call --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c787909..93b5915 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,9 @@ RUN mkdir /app/deepface # ----------------------------------- # Copy required files from repo into image COPY ./deepface /app/deepface -COPY ./api/api.py /app/ +COPY ./api/app.py /app/ +COPY ./api/routes.py.py /app/ +COPY ./api/service.py.py /app/ COPY ./setup.py /app/ COPY ./README.md /app/ # ----------------------------------- @@ -39,4 +41,4 @@ ENV PYTHONUNBUFFERED=1 # ----------------------------------- # run the app (re-configure port if necessary) EXPOSE 5000 -CMD ["gunicorn", "--workers=1", "--timeout=3600", "--bind=0.0.0.0:5000", "app:create_app()"] \ No newline at end of file +CMD ["gunicorn", "--workers=1", "--timeout=3600", "--bind=0.0.0.0:5000", "app:create_app()"]