Shrouk04 commited on
Commit
804b56d
·
verified ·
1 Parent(s): 4c78e88

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +32 -0
Dockerfile ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ubuntu:22.04
2
+
3
+ ENV DEBIAN_FRONTEND=noninteractive
4
+
5
+
6
+ RUN apt-get update && apt-get install -y \
7
+ curl \
8
+ git \
9
+ python3 \
10
+ python3-pip \
11
+ zstd \
12
+ && rm -rf /var/lib/apt/lists/*
13
+
14
+ # ollama
15
+ RUN curl -fsSL https://ollama.com/install.sh | sh
16
+
17
+ WORKDIR /app
18
+
19
+ COPY . .
20
+
21
+ RUN pip3 install --no-cache-dir -r requirements.txt
22
+
23
+ EXPOSE 7860
24
+
25
+
26
+
27
+
28
+
29
+ COPY start.sh /start.sh
30
+ RUN chmod +x /start.sh
31
+
32
+ CMD ["/start.sh"]