feuerblitz7 commited on
Commit
218f5dc
·
1 Parent(s): 3a02f68

Update dockerfile to change libgl library

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -4
Dockerfile CHANGED
@@ -1,16 +1,15 @@
1
- # Use Python 3.12
2
  FROM python:3.12-slim
3
 
4
- # Install system dependencies required to compile detectron2
5
  RUN apt-get update && apt-get install -y \
6
  git \
7
  build-essential \
8
  cmake \
9
- libgl1-mesa-glx \
10
  libglib2.0-0 \
11
  && rm -rf /var/lib/apt/lists/*
12
 
13
- # Install uv (The recommended manager for your stack)
14
  COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
15
 
16
  WORKDIR /app
 
 
1
  FROM python:3.12-slim
2
 
3
+ # Install system dependencies
4
  RUN apt-get update && apt-get install -y \
5
  git \
6
  build-essential \
7
  cmake \
8
+ libgl1 \
9
  libglib2.0-0 \
10
  && rm -rf /var/lib/apt/lists/*
11
 
12
+ # Install uv from the official image
13
  COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
14
 
15
  WORKDIR /app