mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-24 18:43: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"]
|