Spaces:
Running
on
A10G
Running
on
A10G
GitLab CI
commited on
Commit
·
d6803c0
1
Parent(s):
fa303b0
Update game build from GitLab CI
Browse files- Dockerfile +7 -0
Dockerfile
CHANGED
@@ -10,6 +10,13 @@ RUN useradd -m -u 1000 appuser
|
|
10 |
# Définir le répertoire de travail
|
11 |
WORKDIR /app
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
# Copier les fichiers de dépendances
|
14 |
COPY poetry.lock pyproject.toml ./
|
15 |
COPY . .
|
|
|
10 |
# Définir le répertoire de travail
|
11 |
WORKDIR /app
|
12 |
|
13 |
+
# Install system dependencies for PyAudio before poetry install
|
14 |
+
RUN apt-get update && apt-get install -y \
|
15 |
+
gcc \
|
16 |
+
portaudio19-dev \
|
17 |
+
python3-dev \
|
18 |
+
&& rm -rf /var/lib/apt/lists/*
|
19 |
+
|
20 |
# Copier les fichiers de dépendances
|
21 |
COPY poetry.lock pyproject.toml ./
|
22 |
COPY . .
|