treetrail-backend/Containerfile.trixie_python
phil 5b5258428b
Some checks failed
/ build (push) Failing after 23s
Initial commit
2024-10-27 02:09:13 +02:00

19 lines
423 B
Text

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