mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-23 01:56:58 +03:00
11 lines
183 B
Docker
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"]
|