LMGenerator / Dockerfile
Liantsoaxx08's picture
config dokerfile
5b54533
Raw
History Blame Contribute Delete
242 Bytes
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.9
WORKDIR /app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY ./app ./app
EXPOSE 7860
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]