Skip to content

[Presidio Analyzer Bug] Dockerfile.transformers: Build and startup issues #1746

@gerardduch

Description

@gerardduch

Describe the bug
The current Dockerfile.transformers in the Presidio Analyzer project fails to build and start correctly.

To Reproduce
Steps to reproduce the behavior:

  1. Attempt to build the Docker image using the Dockerfile.transformers:
docker build -f Dockerfile.transformers -t presidio-analyzer-transformers .
  1. Observe the build errors.

Expected behavior
The Docker image should build successfully and the container should start properly, with Presidio Analyzer running and accessible as expected.

Additional context

  • The Dockerfile is missing important environment variables (PORT and WORKERS), which are required for proper configuration and operation.
  • The order of COPY commands causes issues.
  • The use of poetry install --no-lock should be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions