nitrox commited on
Commit
60c2f18
·
1 Parent(s): 5ecb399

Add Dockerfile for Hugging Face

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ubuntu:22.04
2
+
3
+ RUN apt-get clean && apt-get update && apt-get install -y --no-install-recommends \\
4
+ python3 \\
5
+ && apt-get clean && rm -rf /var/lib/apt/lists/* && rm -rf /tmp/*
6
+
7
+ WORKDIR /app
8
+
9
+ COPY server.py /app/
10
+ COPY static /app/static/
11
+
12
+ RUN chmod +x /app/server.py
13
+
14
+ EXPOSE 7860
15
+
16
+ CMD ["python3", "server.py"]