All checks were successful
Security / snyk (push) Successful in 30m46s
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [python](https://github.com/actions/python-versions) | uses-with | minor | `3.13` -> `3.14` | | python | final | minor | `3.13-slim` -> `3.14-slim` | --- ### Release Notes <details> <summary>actions/python-versions (python)</summary> ### [`v3.14.0`](https://github.com/actions/python-versions/releases/tag/3.14.0-18313368925): 3.14.0 [Compare Source](https://github.com/actions/python-versions/compare/3.13.8-18331000654...3.14.0-18313368925) Python 3.14.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzguNSIsInVwZGF0ZWRJblZlciI6IjQxLjE0MC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==--> Reviewed-on: #382 Co-authored-by: renovate[bot] <renovate-bot@git.tainton.uk> Co-committed-by: renovate[bot] <renovate-bot@git.tainton.uk>
26 lines
645 B
Docker
26 lines
645 B
Docker
FROM python:3.14-slim
|
|
LABEL maintainer="Luke Tainton <luke@tainton.uk>"
|
|
LABEL org.opencontainers.image.source="https://github.com/luketainton/pypilot"
|
|
USER root
|
|
|
|
ENV PYTHONPATH="/run:/usr/local/lib/python3.13/lib-dynload:/usr/local/lib/python3.13/site-packages:/usr/local/lib/python3.13"
|
|
WORKDIR /run
|
|
|
|
RUN mkdir -p /.local && \
|
|
chmod -R 777 /.local && \
|
|
pip install -U pip uv==0.5.14
|
|
|
|
COPY pyproject.toml /run/pyproject.toml
|
|
COPY uv.lock /run/uv.lock
|
|
# needed for PDM build
|
|
COPY README.md /run/README.md
|
|
|
|
RUN uv sync --frozen
|
|
|
|
ENTRYPOINT ["python3", "-B", "-m", "app.main"]
|
|
|
|
ARG version="dev"
|
|
ENV APP_VERSION=$version
|
|
|
|
COPY app /run/app
|