Skip to content

Commit f124812

Browse files
add dependencies 6
1 parent 817ad49 commit f124812

1 file changed

Lines changed: 9 additions & 17 deletions

File tree

Dockerfile

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,21 @@
1-
FROM python:3.13
1+
FROM ubuntu:22.04
2+
3+
ENV DEBIAN_FRONTEND=noninteractive
24

35
RUN apt-get update && apt-get install -y \
4-
libegl1 \
5-
libxkbcommon0 \
6-
libxkbcommon-x11-0 \
7-
libgl1 \
8-
libdbus-1-3 \
9-
libxcb-cursor0 \
10-
libxcb-icccm4 \
11-
libxcb-image0 \
12-
libxcb-keysyms1 \
13-
libxcb-randr0 \
14-
libxcb-render-util0 \
15-
libxcb-shape0 \
16-
libxcb-xinerama0 \
17-
libxcb-xkb1 \
6+
python3 \
7+
python3-pip \
8+
python3-pyqt6 \
9+
libglib2.0-0 \
1810
&& rm -rf /var/lib/apt/lists/*
1911

2012
WORKDIR /app
2113

2214
COPY requirements.txt .
23-
RUN pip install --no-cache-dir -r requirements.txt
15+
RUN pip3 install --no-cache-dir -r requirements.txt
2416

2517
COPY src/ src/
2618

2719
ENV PYTHONPATH=/app/src
2820

29-
CMD ["python", "src/main.py"]
21+
CMD ["python3", "src/main.py"]

0 commit comments

Comments
 (0)