current api call

This commit is contained in:
Sefik Ilkin Serengil 2023-02-02 15:08:04 +00:00 committed by GitHub
parent 897d9d13ef
commit 0c8816bf63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()"]
CMD ["gunicorn", "--workers=1", "--timeout=3600", "--bind=0.0.0.0:5000", "app:create_app()"]