jerukperas commited on
Commit
d1aeaba
·
verified ·
1 Parent(s): 1ef0035

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -6
Dockerfile CHANGED
@@ -1,8 +1,17 @@
1
- FROM tabbyml/tabby:0.15.0
2
 
3
- USER root
4
- RUN mkdir -p /data
5
- RUN chown 1000 /data
 
 
 
 
 
 
 
 
 
6
 
7
- USER 1000
8
- CMD ["serve", "--device", "cuda", "--model", "TabbyML/StarCoder-1B"]
 
1
+ FROM ubuntu:latest
2
 
3
+ RUN apt-get update && \
4
+ apt-get install -y \
5
+ wget \
6
+ unzip \
7
+ apt-get clean && \
8
+ rm -rf /var/lib/apt/lists/*
9
+
10
+ RUN wget -O /tmp/tabby_x86_64-manylinux2014.zip https://github.com/TabbyML/tabby/releases/download/nightly/tabby_x86_64-manylinux2014.zip \
11
+ && unzip /tmp/tabby_x86_64-manylinux2014.zip -d /tmp/tabby
12
+ && mv/tmp/tabby/dist/tabby_x86_64-manylinux2014/* /usr/local/bin
13
+
14
+ USER ubuntu
15
 
16
+ # /usr/local/bin/
17
+ CMD ["tabby", "serve", "--model", "TabbyML/StarCoder-1B"]