Ark-kun commited on
Commit
58baa70
·
1 Parent(s): 6439a6b

chore: Dockerfile - Added packages required by HuggingFace dev mode

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -1,6 +1,11 @@
1
  # Use a Python image with uv pre-installed
2
  FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim
3
 
 
 
 
 
 
4
  # Creating the /data directory and giving full access to users to avoid the errors:
5
  # --> RUN mkdir -p /data
6
  # mkdir: cannot create directory ‘/data’: Permission denied
 
1
  # Use a Python image with uv pre-installed
2
  FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim
3
 
4
+ # HuggingFace dev mode requires wget, git
5
+ RUN apt-get update && \
6
+ apt-get install -y bash curl wget procps git git-lfs && \
7
+ rm -rf /var/lib/apt/lists/*
8
+
9
  # Creating the /data directory and giving full access to users to avoid the errors:
10
  # --> RUN mkdir -p /data
11
  # mkdir: cannot create directory ‘/data’: Permission denied