fastapi_mongoDB / Dockerfile
PrabhuKiranKonda's picture
added project files and dockerfile
cb7f5fc
raw
history blame
265 Bytes
FROM python:3.9-slim
WORKDIR /app
COPY requirements.txt ./requirements.txt
# Install uvicorn
RUN pip install uvicorn
# Install dependencies
RUN pip install -r requirements.txt
COPY . /app
ENTRYPOINT ["uvicorn", "app:app"]
CMD ["--host", "0.0.0.0", "--port", "7860"]