-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile
More file actions
41 lines (32 loc) · 712 Bytes
/
Dockerfile
File metadata and controls
41 lines (32 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
FROM python:3.11-slim
# Install system dependencies for PyQt5 and GUI apps
RUN apt-get update && apt-get install -y \
libgl1-mesa-glx \
libx11-xcb1 \
libxcomposite1 \
libxcursor1 \
libxdamage1 \
libxrandr2 \
libxss1 \
libxtst6 \
libnss3 \
libasound2 \
libglib2.0-0 \
libxkbcommon-x11-0 \
libxcb1 \
libxcb-icccm4 \
libxcb-image0 \
libxcb-keysyms1 \
libxcb-render-util0 \
libxcb-xinerama0 \
libsm6 \
libxext6 \
qtbase5-dev \
qtbase5-dev-tools \
x11-apps \
&& rm -rf /var/lib/apt/lists/*
ENV QT_X11_NO_MITSHM=1
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir -r requirements.txt
CMD ["python", "Main.py"]