feat: implement dynamic versioning and add automated Docker CI/CD workflow with enhanced documentation
This commit is contained in:
@@ -10,6 +10,10 @@ ENV UV_COMPILE_BYTECODE=1
|
||||
# Copy the lockfile and pyproject.toml
|
||||
COPY uv.lock pyproject.toml /app/
|
||||
|
||||
# Provide the version to hatch-vcs (setuptools-scm) during the build
|
||||
ARG VERSION=dev
|
||||
ENV SETUPTOOLS_SCM_PRETEND_VERSION=${VERSION}
|
||||
|
||||
# Install dependencies (without the project itself) for caching
|
||||
RUN uv sync --frozen --no-install-project --no-dev
|
||||
|
||||
|
||||
Reference in New Issue
Block a user