NewtonKimathi's picture
Docker file
6fdf5b2
raw
history blame contribute delete
222 Bytes
FROM python:3.10.9
WORKDIR /app
COPY ./requirements.txt /app
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
EXPOSE 8000
COPY . .
CMD ["uvicorn", "main:app", "--host", "127.0.0.1", "--port", "8000"]