Compare commits

..

No commits in common. "27312ecfafe905edf2cb8a4787df550b8fcb0ff6" and "595f93cb612b5e3d43150a93704ba9254657ebfd" have entirely different histories.

2 changed files with 5 additions and 15 deletions

View file

@ -1,22 +1,15 @@
# Changelog
# 0.6.0
- Replaced dns query usage with calling an external API
- Replaced gitlab CI with Woodpecker configuration
- Refactored optional dependencies & implemented dependency groups
- Moved to uv.lock file for pinning dependencies
# 0.5.1
- Update gitlab CI configuration
# 0.5.0
- Removed poetry
- Remove poetry
- Use `setuptools` for packaging
- Added a `Makefile`
- Use `pip-compile` for dependency management
- Use `pip-compile` for dependecy management
# 0.4.0

View file

@ -1,9 +1,6 @@
FROM ghcr.io/astral-sh/uv:python3.11-bookworm
# copy from the cache instead of linking since mounted volumes are used
ENV UV_LINK_MODE=copy
ENV UV_CACHE_DIR=/app/.cache/uv
ENV PATH="/app/.venv/bin:$PATH"
RUN useradd --shell /bin/bash --uid 1000 transip_client
@ -17,12 +14,12 @@ RUN mkdir --parents /app/.cache/uv
RUN --mount=type=cache,uid=1000,target=/app/.cache/uv \
--mount=type=bind,source=uv.lock,target=/app/uv.lock \
--mount=type=bind,source=pyproject.toml,target=/app/pyproject.toml \
uv sync --frozen --no-dev --no-install-project
uv sync --frozen --no-install-project
COPY pyproject.toml uv.lock /app
COPY transip_client /app/transip_client
# install dependencies + project
RUN --mount=type=cache,uid=1000,target=/app/.cache/uv uv sync --frozen --no-dev
RUN --mount=type=cache,uid=1000,target=/app/.cache/uv uv sync --frozen
ENTRYPOINT ["transip-listen"]
ENTRYPOINT ["uv", "run", "--", "transip-listen"]