microbamboo commited on
Commit
7bb0fcf
·
verified ·
1 Parent(s): e8234f1

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +20 -0
Dockerfile ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10
2
+ RUN useradd -m -u 1000 user
3
+ WORKDIR /home/user/app
4
+ COPY . .
5
+ RUN pip install --upgrade pip
6
+ RUN pip install --no-cache-dir --upgrade -r requirements.txt
7
+ RUN apt-get update
8
+ RUN apt-get install -y libpangocairo-1.0-0 libx11-xcb1 libxcomposite1 libxcursor1 libxdamage1 libxi6 libxtst6 libnss3 libcups2 libxss1 libxrandr2 libasound2 libatk1.0-0 libgtk-3-0
9
+ RUN apt-get install -y libgbm-dev
10
+ RUN apt-get install -y cron
11
+ RUN apt-get install -y vim
12
+ RUN apt-get install -y ffmpeg
13
+ RUN apt-get install -y nodejs npm
14
+ RUN chown -R user:user /home/user
15
+ RUN chown -R user:user /usr/games
16
+ RUN chown -R user:user /usr/local
17
+ RUN chown -R user:user /usr/bin
18
+ RUN chown -R user:user /var/
19
+
20
+ CMD ["python", "app.py"]