model-security / Dockerfile
William Gunnells
migration from model_performace
247d94e
raw
history blame contribute delete
248 Bytes
FROM python:3.8
WORKDIR /app
COPY ./requirements.txt /app/requirements.txt
RUN pip install -r requirements.txt
EXPOSE 7860
ENV PYTHONUNBUFFERED 1
COPY app /app
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] # works but limited