TestingFastApi / Dockerfile
mohsinramzan's picture
Uploading the app
2d82c8b
Raw History Blame Contribute Delete
200 Bytes
FROM python:3.10
WORKDIR /app
COPY requirements.txt requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]