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
ERROR: Could not find a version that satisfies the requirement python-magic-bin==0.4.14 (from versions: none)
ERROR: No matching distribution found for python-magic-bin==0.4.14
The command '/bin/sh -c pip3 install -r requirements.txt' returned a non-zero code: 1
ERROR: Could not find a version that satisfies the requirement python-magic-bin==0.4.14 (from versions: none)
ERROR: No matching distribution found for python-magic-bin==0.4.14
The command '/bin/sh -c pip3 install -r requirements.txt' returned a non-zero code: 1
This is my docker container file
FROM tiangolo/uvicorn-gunicorn:python3.11
RUN apt-get update && apt-get install -y libmagic-dev
WORKDIR /app
COPY requirements.txt .
RUN pip3 install -r requirements.txt
COPY . .
EXPOSE 8000
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
This is my requirements.txt file
fastapi==0.92.0
uvicorn==0.15.0
sqlalchemy==1.4.23
pymysql==1.0.2
mysqlclient==2.0.3
urllib3==1.26.14
boto3==1.26.86
loguru==0.6.0
python-multipart==0.0.6
python-magic-bin==0.4.14
The text was updated successfully, but these errors were encountered: