mirror of
https://github.com/serengil/deepface.git
synced 2025-06-05 19:15:23 +00:00
current api call
This commit is contained in:
parent
897d9d13ef
commit
0c8816bf63
@ -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()"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user