Skip to content
Discussion options

You must be logged in to vote

I've tried to reproduce this, and ended up creating the config files as described in the repo. I also used dockerfile.stanza (with one small change) instead of the custom dockerfile that you provided. I was able to build it locally (it also downloaded the English and Thai stanza models during build).

.Dockerfile.stanza:

FROM python:3.12-slim@sha256:f3fa41d74a768c2fce8016b98c191ae8c1bacd8f1152870a3f9f87d350920b7c

ARG NLP_CONF_FILE=presidio_analyzer/conf/default.yaml
ARG ANALYZER_CONF_FILE=presidio_analyzer/conf/default_analyzer.yaml
ARG RECOGNIZER_REGISTRY_CONF_FILE=presidio_analyzer/conf/default_recognizers.yaml
ENV PIP_NO_CACHE_DIR=1
ENV POETRY_VIRTUALENVS_CREATE=false

ENV ANALYZER_CON…

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@omri374
Comment options

@omri374
Comment options

@Khuntawee
Comment options

@omri374
Comment options

Answer selected by Khuntawee
@omri374
Comment options

@omri374
Comment options

@Khuntawee
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants