python-dependency-injector/examples/miniapps/fastapi-redis/Dockerfile
2021-01-03 22:15:27 -05:00

11 lines
183 B
Docker

FROM python:3.8-buster
ENV PYTHONUNBUFFERED=1
WORKDIR /code
COPY . /code/
RUN pip install -r requirements.txt
CMD ["uvicorn", "fastapiredis.application:app", "--host", "0.0.0.0"]