Knightleo commited on
Commit
c6df6d0
·
verified ·
1 Parent(s): 1966c0d

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ghcr.io/h88782481/chat-share:latest
2
+
3
+ COPY start.sh .
4
+
5
+ RUN chmod +x /app/start.sh
6
+
7
+ RUN pip install --no-cache-dir --upgrade pip \
8
+ && pip install --no-cache-dir huggingface-hub
9
+
10
+ RUN mkdir -p /app/data \
11
+ && chmod -R a+rwX /app/data
12
+
13
+ EXPOSE 5100
14
+
15
+ CMD ["bash", "-c", "exec ./start.sh"]