bevelapi / Dockerfile
BeveledCube's picture
Update Dockerfile
ab090f7 verified
raw
history blame
243 Bytes
FROM python:3.11
WORKDIR /api
COPY ./ /api/
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
RUN mkdir /api/models
RUN chmod a+rwx /api/models
EXPOSE 7860
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]