Merge branch 'feature/SIMPL-24642' into 'develop'
SIMPL-24642 fix load model in field-level See merge request simpl/simpl-open/development/data-services/template-code-location!5
This commit is contained in:
@@ -33,6 +33,7 @@ RUN chown -R appuser:appgroup /app
|
||||
|
||||
# Copy project metadata and source
|
||||
COPY pyproject.toml .
|
||||
COPY uv.lock .
|
||||
COPY src/ ./src/
|
||||
|
||||
# uv environment knobs:
|
||||
@@ -47,8 +48,10 @@ ENV UV_SYSTEM_PYTHON=1
|
||||
# (git source for util-services and pytorch-cpu index for torch)
|
||||
# BuildKit cache mount keeps the uv package cache across builds
|
||||
RUN --mount=type=cache,target=/root/.cache/uv \
|
||||
uv pip install .
|
||||
uv sync --frozen --no-dev
|
||||
|
||||
# Put the project's venv on PATH (matches WORKDIR)
|
||||
ENV PATH="/app/.venv/bin:${PATH}"
|
||||
ENV PYTHONPATH="/app/src"
|
||||
|
||||
# Make /app writable for the non-root user (e.g. spaCy model downloads)
|
||||
|
||||
@@ -8,11 +8,8 @@ version = "0.1.0"
|
||||
description = "Consolidated code location for all data services workflows"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
# Dagster core
|
||||
"dagster>=1.8.13",
|
||||
# Util services — resolved via [tool.uv.sources] (git)
|
||||
"util-services",
|
||||
# Code location packages — resolved via [tool.uv.sources] (git)
|
||||
"data-processing",
|
||||
"dataframe-level-anonymisation",
|
||||
"field-level-pseudo-anonymisation",
|
||||
|
||||
Reference in New Issue
Block a user