Spaces:
Runtime error
Runtime error
GitLab CI
commited on
Commit
·
0ace67a
1
Parent(s):
817e840
Update game build from GitLab CI
Browse files- Dockerfile +11 -0
- server/static/godot/index.pck +0 -0
Dockerfile
CHANGED
|
@@ -22,8 +22,19 @@ RUN apt-get update && apt-get install -y \
|
|
| 22 |
libasound2 \
|
| 23 |
libasound2-data \
|
| 24 |
wget \
|
|
|
|
|
|
|
|
|
|
| 25 |
&& rm -rf /var/lib/apt/lists/*
|
| 26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
# Copier les fichiers de dépendances
|
| 28 |
COPY poetry.lock pyproject.toml ./
|
| 29 |
COPY . .
|
|
|
|
| 22 |
libasound2 \
|
| 23 |
libasound2-data \
|
| 24 |
wget \
|
| 25 |
+
# Add CUDA dependencies
|
| 26 |
+
cuda-cudart-11-8 \
|
| 27 |
+
cuda-cudnn8 \
|
| 28 |
&& rm -rf /var/lib/apt/lists/*
|
| 29 |
|
| 30 |
+
# Add CUDA repository and install CUDA toolkit
|
| 31 |
+
RUN wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb && \
|
| 32 |
+
dpkg -i cuda-keyring_1.1-1_all.deb && \
|
| 33 |
+
apt-get update && \
|
| 34 |
+
apt-get install -y cuda-toolkit-11-8 && \
|
| 35 |
+
rm -rf /var/lib/apt/lists/* && \
|
| 36 |
+
rm cuda-keyring_1.1-1_all.deb
|
| 37 |
+
|
| 38 |
# Copier les fichiers de dépendances
|
| 39 |
COPY poetry.lock pyproject.toml ./
|
| 40 |
COPY . .
|
server/static/godot/index.pck
CHANGED
|
Binary files a/server/static/godot/index.pck and b/server/static/godot/index.pck differ
|
|
|