Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ ENV/
env.bak/
venv.bak/
*venv/
poetry.lock

# Spyder project settings
.spyderproject
Expand Down
2 changes: 1 addition & 1 deletion presidio-analyzer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN apt-get update \
&& apt-get install build-essential --no-install-recommends -y \
&& rm -rf /var/lib/apt/lists/*

COPY ./pyproject.toml /app/
COPY ./pyproject.toml ./poetry.lock /app/

RUN pip install poetry && poetry install --no-root --only=main -E server
# install nlp models specified in NLP_CONF_FILE
Expand Down
2 changes: 1 addition & 1 deletion presidio-analyzer/Dockerfile.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ WORKDIR /app
RUN apt-get update \
&& apt-get install -y build-essential

COPY ./pyproject.toml /app/
COPY ./pyproject.toml ./poetry.lock /app/

RUN pip install poetry && poetry install --no-root --only=main -E server -E stanza
# install nlp models specified in NLP_CONF_FILE
Expand Down
2 changes: 1 addition & 1 deletion presidio-analyzer/Dockerfile.transformers
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ COPY ${ANALYZER_CONF_FILE} /app/${ANALYZER_CONF_FILE}
COPY ${RECOGNIZER_REGISTRY_CONF_FILE} /app/${RECOGNIZER_REGISTRY_CONF_FILE}
COPY ${NLP_CONF_FILE} /app/${NLP_CONF_FILE}

COPY ./pyproject.toml /app/
COPY ./pyproject.toml ./poetry.lock /app/
RUN pip install poetry && poetry install -E server -E transformers

RUN poetry add torch transformers huggingface_hub --no-lock
Expand Down
2 changes: 1 addition & 1 deletion presidio-analyzer/Dockerfile.windows
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ COPY ${ANALYZER_CONF_FILE} /app/${ANALYZER_CONF_FILE}
COPY ${RECOGNIZER_REGISTRY_CONF_FILE} /app/${RECOGNIZER_REGISTRY_CONF_FILE}
COPY ${NLP_CONF_FILE} /app/${NLP_CONF_FILE}

COPY ./pyproject.toml /app/
COPY ./pyproject.toml ./poetry.lock /app/
RUN python.exe -m pip install --upgrade pip; pip install poetry; poetry install --no-root --only=main -E server -E transformers

# install nlp models specified in NLP_CONF_FILE
Expand Down
3,365 changes: 3,365 additions & 0 deletions presidio-analyzer/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion presidio-anonymizer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ENV WORKERS=1

WORKDIR /app

COPY ./pyproject.toml /app/
COPY ./pyproject.toml ./poetry.lock /app/
RUN pip install poetry && poetry install --no-root --only=main -E server

COPY . /app/
Expand Down
2 changes: 1 addition & 1 deletion presidio-anonymizer/Dockerfile.windows
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ENV PORT=3000

WORKDIR /app

COPY ./pyproject.toml /app/
COPY ./pyproject.toml ./poetry.lock /app/
RUN python.exe -m pip install --upgrade pip; pip install poetry; poetry install --no-root --only=main -E server

COPY . /app/
Expand Down
1,123 changes: 1,123 additions & 0 deletions presidio-anonymizer/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion presidio-image-redactor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/* \
&& tesseract -v

COPY ./pyproject.toml /app/
COPY ./pyproject.toml ./poetry.lock /app/
RUN pip install poetry && poetry install --no-root --only=main -E server

COPY . /app/
Expand Down
2,835 changes: 2,835 additions & 0 deletions presidio-image-redactor/poetry.lock

Large diffs are not rendered by default.

Loading