Bjo53 commited on
Commit
4fdd23b
·
verified ·
1 Parent(s): 6bf7731

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +21 -0
Dockerfile ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+ RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
4
+
5
+ RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs
6
+
7
+ WORKDIR /app
8
+
9
+ COPY requirements.txt .
10
+ RUN pip install --no-cache-dir -r requirements.txt
11
+
12
+ RUN pip install --no-cache-dir huggingface_hub==0.23.0 requests psutil openai anthropic
13
+ RUN npm install -g @anthropic-ai/claude-code @openai/codex
14
+
15
+ COPY . .
16
+
17
+ RUN chmod +x startup.sh
18
+
19
+ EXPOSE 7860
20
+
21
+ CMD ["./startup.sh"]