Skip to content
This repository was archived by the owner on Jul 13, 2023. It is now read-only.
This repository was archived by the owner on Jul 13, 2023. It is now read-only.

docker-compose build 报错  #7

@BigYoungs

Description

@BigYoungs

报错内容:ERROR: Service 'server' failed to build: The command '/bin/sh -c pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple' returned a non-zero code: 2

这是因为{WatchAD-Server}/server/Dockerfile中的pip命令导致,我的环境中pip 使用的是python 2.7的,此项目要用python 3 所以遇到此问题,可以修改此命令为pip3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions