Ignore pip-root-warning
This commit is contained in:
parent
3eef893f13
commit
561e9344e3
2 changed files with 15 additions and 2 deletions
|
|
@ -2,4 +2,8 @@ FROM docker.io/library/python:3.11-alpine
|
|||
|
||||
RUN apk --no-cache add sshpass openssh-client lftp; mkdir -p /opt/app
|
||||
ADD requirements.txt /opt/app/
|
||||
|
||||
# ignore "Running pip as root" warning
|
||||
ENV PIP_ROOT_USER_ACTION=ignore
|
||||
|
||||
RUN pip install -r /opt/app/requirements.txt && pip freeze
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue