medicare-fastapi / Dockerfile
Mohammed-Altaf's picture
added setup.sh file
e747d37
raw
history blame
No virus
288 Bytes
FROM python:3.10-slim
WORKDIR /app
COPY . /app
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
RUN chmod +x /app/setup.sh
EXPOSE 7860
# Run the script as part of the CMD
CMD ["/app/setup.sh", "&&", "uvicorn", "/app/main:app", "--host", "0.0.0.0", "--port", "7860"]