mirror of
https://github.com/Mesteriis/hassio-addons-avm.git
synced 2026-01-09 06:51:03 +01:00
14 lines
404 B
Docker
14 lines
404 B
Docker
FROM python:3.11-slim
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends gcc curl && \
|
|
pip install --no-cache-dir uvloop && \
|
|
apt-get remove -y gcc && \
|
|
apt-get autoremove -y && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
RUN echo 'eval "$(uv generate-shell-completion bash)"' >> ~/.bashrc
|
|
|
|
CMD ["python"] |