Merge pull request #179 from hodanov/feature/dockerfile

Update dockerfile.
This commit is contained in:
hodanov 2025-02-08 12:39:50 +09:00 committed by GitHub
commit 0b3acdaea8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,8 +1,8 @@
FROM python:3.11.3-slim-bullseye
FROM python:3.11.11-slim-bookworm
COPY ./requirements.txt /
RUN apt-get update \
&& apt-get install wget libgl1-mesa-glx libglib2.0-0 --no-install-recommends -y \
&& apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/* \
&& pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu121 --no-cache-dir
&& pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu121 --no-cache-dir