feat(SIMPL-24642): consolidate all code locations into template-code-location
- Rename src/template-code-location to src/template_code_location - Copy data-processing jobs/ops/config_models - Copy dataframe-level-anonymisation jobs/ops/utils/config_models - Copy field-level-pseudo-anonymisation jobs/ops/techniques/config_models - Update all imports to template_code_location namespace - Merge all jobs into unified repository.py with sensors/resources/loggers - Update pyproject.toml with all dependencies - Update Dockerfile for consolidated image
This commit is contained in:
11
Dockerfile
11
Dockerfile
@@ -1,13 +1,16 @@
|
||||
FROM python:3.12-slim-bookworm
|
||||
|
||||
# Install git for git-based dependencies
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends git && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY pyproject.toml .
|
||||
RUN pip install --no-cache-dir dagster dagster-webserver
|
||||
|
||||
COPY src/ src/
|
||||
|
||||
# Install the package and all dependencies
|
||||
RUN pip install --no-cache-dir .
|
||||
|
||||
EXPOSE 3000
|
||||
EXPOSE 4000
|
||||
|
||||
CMD ["dagster", "api", "grpc", "-h", "0.0.0.0", "-p", "3000", "-m", "template-code-location.repository"]
|
||||
CMD ["dagster", "code-server", "start", "-h", "0.0.0.0", "-p", "4000", "-f", "src/template_code_location/repository.py"]
|
||||
|
||||
Reference in New Issue
Block a user