iproskurina commited on
Commit
a6d0250
·
verified ·
1 Parent(s): fc291fb

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -0
Dockerfile ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+ ENV PYTHONUNBUFFERED=1
3
+ WORKDIR /app
4
+ COPY requirements.txt /app/requirements.txt
5
+ RUN pip install --no-cache-dir --upgrade pip && \
6
+ pip install --no-cache-dir -r requirements.txt
7
+ COPY . /app
8
+ EXPOSE 7860
9
+ CMD ["python", "app.py"]