Browse Source

Leave no Python pip temporary cache in backend Docker image (#704)

dependabot/npm_and_yarn/mobile/ansi-regex-4.1.1
Peter Dave Hello 2 years ago
committed by GitHub
parent
commit
57b7f7dbe9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      containers/backend/Dockerfile

+ 2
- 2
containers/backend/Dockerfile View File

@@ -4,8 +4,8 @@ LABEL name="LessPass Backend"
RUN mkdir /opt/backend
WORKDIR /opt/backend
COPY requirements.txt /opt/backend
RUN python -m pip install --upgrade pip
RUN python -m pip install -r requirements.txt
RUN python -m pip install --no-cache-dir --upgrade pip
RUN python -m pip install --no-cache-dir -r requirements.txt
COPY . /opt/backend
RUN python --version
EXPOSE 8000


Loading…
Cancel
Save