prova / Dockerfile
aleca1's picture
Create Dockerfile
4ea0eb3 verified
Raw History Blame Contribute Delete
302 Bytes
FROM python:3.10-slim-buster
WORKDIR /app
RUN apt-get update && apt-get install -y git
RUN git clone https://github.com/ale1-cambio/mamamia.git .
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 7860
CMD ["uvicorn", "run:main_app", "--host", "0.0.0.0", "--port", "7860", "--workers", "4"]