-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.appimage
More file actions
43 lines (35 loc) · 976 Bytes
/
Dockerfile.appimage
File metadata and controls
43 lines (35 loc) · 976 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
42
43
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
python3-venv \
python3-dev \
build-essential \
libglu1-mesa-dev \
libx11-xcb-dev \
python3-pyqt5 \
python3-pyqt5.qtmultimedia \
libtiff5 \
libxcb-cursor0 \
upx \
binutils \
file \
wget \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Copy requirements first for better caching
COPY requirements-dev.txt .
# Create venv and install dependencies (Ubuntu 24.04 enforces PEP 668)
RUN python3 -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
RUN pip install --upgrade pip && \
pip install -r requirements-dev.txt && \
pip install pyinstaller
# Copy the rest of the project
COPY . .
# Build command
# CMD ["pyinstaller", "brepodder.spec", "--clean"]
# CMD ["/bin/bash", "-c", "echo 'Hello from Bash!' && ls -l"]
# CMD ["sleep", "infinity"]
CMD ["/bin/bash", "build-in-container.sh"]