misukisu commited on
Commit
8dc6516
·
verified ·
1 Parent(s): a21d290

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -1,6 +1,6 @@
1
  FROM eclipse-temurin:25-jre
2
  RUN apt-get update && apt-get install -y --no-install-recommends python3 python3-pip zstd curl ca-certificates && rm -rf /var/lib/apt/lists/* \
3
- && pip3 install --no-cache-dir --break-system-packages aiohttp==3.10.10 huggingface_hub==0.26.2
4
  RUN useradd -m -u 1000 user 2>/dev/null || usermod -l user -d /home/user -m $(getent passwd 1000 | cut -d: -f1)
5
  ARG PAPER_URL=https://fill-data.papermc.io/v1/objects/715cd6633db27b2c05ce6efd2d477330ebae8a4f668cf0459fcaf434c4720fba/paper-26.2-130.jar
6
  WORKDIR /app
 
1
  FROM eclipse-temurin:25-jre
2
  RUN apt-get update && apt-get install -y --no-install-recommends python3 python3-pip zstd curl ca-certificates && rm -rf /var/lib/apt/lists/* \
3
+ && pip3 install --no-cache-dir --break-system-packages "aiohttp>=3.12" "huggingface_hub>=0.34"
4
  RUN useradd -m -u 1000 user 2>/dev/null || usermod -l user -d /home/user -m $(getent passwd 1000 | cut -d: -f1)
5
  ARG PAPER_URL=https://fill-data.papermc.io/v1/objects/715cd6633db27b2c05ce6efd2d477330ebae8a4f668cf0459fcaf434c4720fba/paper-26.2-130.jar
6
  WORKDIR /app