treetrail-backend/Containerfile.trixie_python
phil 5c27a26e78
All checks were successful
/ test (push) Successful in 25s
/ build (push) Successful in 15s
Update registry and containers for CI
2024-12-05 18:59:55 +01:00

23 lines
587 B
Text

# Build: podman build -t code.philo.ydns.eu/philorg/trixie_python -f Containerfile.trixie_python
FROM debian:trixie-slim
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
COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv
ENV UV_LINK_MODE=copy \
UV_COMPILE_BYTECODE=1 \
UV_PYTHON_DOWNLOADS=never \
#UV_PYTHON=python3.12 \
UV_PROJECT_ENVIRONMENT=/app \
PYTHONPATH=/app/lib/python3.12/site-packages \
PATH=/app/bin:$PATH