Emotiondetectionapi / Dockerfile
Sankie005's picture
Updated the dockerfile
f9e1423
raw
history blame
No virus
313 Bytes
#
FROM python:3.11
ENV PYTHONUNBUFFERED 1
#
RUN mkdir ./.cache
RUN mkdir /code
WORKDIR /code
#
COPY ./requirements.txt /code/requirements.txt
#
RUN pip install --no-cache-dir --upgrade -r requirements.txt
#
COPY ./app /code/app
#
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]