update repository references and improve script handling

This commit is contained in:
2025-03-19 23:55:05 +01:00
parent ecce3bf159
commit c21d5cbc19
4 changed files with 28 additions and 24 deletions

View File

@@ -0,0 +1,14 @@
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"]