Initial commit
Some checks failed
/ build (push) Failing after 23s

This commit is contained in:
phil 2024-10-27 02:09:13 +02:00
parent 1da1965b3c
commit 5b5258428b
7 changed files with 72 additions and 27 deletions

View file

@ -1,11 +1,19 @@
FROM debian:trixie-slim
MAINTAINER philo email phil.dev@philome.mooo.com
RUN apt update
RUN apt install --no-install-recommends -y python-is-python3 python3-pip python3-venv
RUN pip install --break-system-packages pdm
RUN <<EOT
apt-get update -qy
apt-get install -qyy \
-o APT::Install-Recommends=false \
-o APT::Install-Suggests=false \
ca-certificates \
python-is-python3
apt-get clean
EOT
RUN apt-get clean && \
rm -rf /var/lib/apt/lists/*
COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv
RUN rm -rf /root/.cache
ENV UV_LINK_MODE=copy \
UV_COMPILE_BYTECODE=1 \
UV_PYTHON_DOWNLOADS=never \
#UV_PYTHON=python3.12 \
UV_PROJECT_ENVIRONMENT=/app