fix add dataset
Browse files- Dockerfile +15 -0
Dockerfile
CHANGED
|
@@ -1,6 +1,21 @@
|
|
| 1 |
FROM codeberg.org/readeck/readeck:latest
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
# Add health check
|
| 5 |
HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \
|
| 6 |
CMD curl -f http://localhost:7860/ || exit 1
|
|
|
|
| 1 |
FROM codeberg.org/readeck/readeck:latest
|
| 2 |
|
| 3 |
+
# Install dependencies
|
| 4 |
+
RUN apt update && apt install -y \
|
| 5 |
+
gcc \
|
| 6 |
+
curl \
|
| 7 |
+
sudo \
|
| 8 |
+
git-lfs \
|
| 9 |
+
openssl \
|
| 10 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
|
| 12 |
+
# Install Python packages
|
| 13 |
+
RUN pip install --no-cache-dir \
|
| 14 |
+
huggingface_hub \
|
| 15 |
+
datasets
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
|
| 19 |
# Add health check
|
| 20 |
HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \
|
| 21 |
CMD curl -f http://localhost:7860/ || exit 1
|