sukhmani1303 commited on
Commit
c25d4ef
·
verified ·
1 Parent(s): 84d195f

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -0
Dockerfile ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ FROM python:3.9-slim
3
+ WORKDIR /app
4
+ RUN useradd -m -u 1000 user
5
+ USER user
6
+ ENV PATH="/home/user/.local/bin:$PATH"
7
+ COPY ./requirements.txt .
8
+ RUN pip install --no-cache-dir --upgrade -r requirements.txt
9
+ COPY . .
10
+ CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]