You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I provided exact source code that allows reproducing the issue locally.
Steps
create docker image with above docker file
docker build -t .
Expected
create doker image success
Actual
#11 433.1 ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11 #11 433.1 ERROR: Could not find a version that satisfies the requirement playwright~=1.39.0 (from versions: none) #11 433.1 ERROR: No matching distribution found for playwright~=1.39.0
The text was updated successfully, but these errors were encountered:
System info
Source code
requirements.txt
opencv-python~=4.8.1.78
Pillow~=10.0.1
numpy~=1.24.4
Flask~=3.0.0
playwright~=1.39.0
requests~=2.31.0
gunicorn==20.1.0
Dockerfile
FROM python:3.11.6-alpine3.17
WORKDIR /app
COPY . .
COPY requirements.txt /app/
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
RUN apk --no-cache add build-base
RUN pip install --no-cache-dir -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
EXPOSE 8000
CMD ["gunicorn", "-w", "3", "-b", "0.0.0.0:8000", "wsgi:app"]
Steps
Expected
create doker image success
Actual
#11 433.1 ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11
#11 433.1 ERROR: Could not find a version that satisfies the requirement playwright~=1.39.0 (from versions: none)
#11 433.1 ERROR: No matching distribution found for playwright~=1.39.0
The text was updated successfully, but these errors were encountered: