Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade pip #1272

Merged
merged 6 commits into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 2 additions & 1 deletion presidio-analyzer/Dockerfile.windows
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ADD https://aka.ms/vs/16/release/vc_redist.x64.exe .
RUN ./vc_redist.x64.exe /quiet /install

COPY ./Pipfile* .
RUN pip install --upgrade pip
RUN pip install pipenv; pipenv install --deploy

# install nlp models specified in conf/default.yaml
Expand All @@ -18,4 +19,4 @@ RUN pipenv run python install_nlp_models.py --conf_file $Env:NLP_CONF_FILE

COPY . .
EXPOSE ${PORT}
CMD pipenv run python app.py --host 0.0.0.0
CMD pipenv run python app.py --host 0.0.0.0
3 changes: 2 additions & 1 deletion presidio-anonymizer/Dockerfile.windows
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ ENV PIP_NO_CACHE_DIR=1
WORKDIR /app

COPY ./Pipfile* .
RUN pip install --upgrade pip
RUN pip install pipenv; pipenv install --deploy

COPY . .

EXPOSE ${PORT}
CMD pipenv run python app.py
CMD pipenv run python app.py
Loading