Update dockerfile.
This commit is contained in:
parent
c21c20b862
commit
afbb5d6e8e
@ -1,8 +1,8 @@
|
|||||||
FROM python:3.11.3-slim-bullseye
|
FROM python:3.11.11-slim-bookworm
|
||||||
COPY ./requirements.txt /
|
COPY ./requirements.txt /
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install wget libgl1-mesa-glx libglib2.0-0 --no-install-recommends -y \
|
&& apt-get install wget libgl1-mesa-glx libglib2.0-0 --no-install-recommends -y \
|
||||||
&& apt-get autoremove -y \
|
&& apt-get autoremove -y \
|
||||||
&& apt-get clean -y \
|
&& apt-get clean -y \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& 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
|
||||||
Loading…
x
Reference in New Issue
Block a user