瀏覽代碼

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 年之前
committed by GitHub
父節點
當前提交
57b7f7dbe9
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      containers/backend/Dockerfile

+ 2
- 2
containers/backend/Dockerfile 查看文件

@@ -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…
取消
儲存