Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -34,7 +34,10 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
|
|
| 34 |
python3.11-venv \
|
| 35 |
libpython3.11 \
|
| 36 |
libpython3.11-dev && \
|
| 37 |
-
rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
# image setup
|
| 40 |
RUN useradd -m -u 1000 user
|
|
|
|
| 34 |
python3.11-venv \
|
| 35 |
libpython3.11 \
|
| 36 |
libpython3.11-dev && \
|
| 37 |
+
rm -rf /var/lib/apt/lists/* && \
|
| 38 |
+
# Create symlinks to ensure libraries are found
|
| 39 |
+
ln -sf /usr/lib/x86_64-linux-gnu/libpython3.11.so.1.0 /usr/lib/libpython3.11.so.1.0 && \
|
| 40 |
+
ln -sf /usr/lib/x86_64-linux-gnu/libpython3.11.so.1.0 /lib/libpython3.11.so.1.0
|
| 41 |
|
| 42 |
# image setup
|
| 43 |
RUN useradd -m -u 1000 user
|