Techdocs / TechdocsAPI /Dockerfile
HemanthSai7's picture
Separated the backend and frontend
2ecc792
raw
history blame
233 Bytes
FROM python:3.11
WORKDIR /backend
COPY ./requirements.txt /backend/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /backend/requirements.txt
COPY . .
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]