浏览代码

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 密钥 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


正在加载...
取消
保存