tomas-gajarsky commited on
Commit
996635e
1 Parent(s): f7b06e7

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9.12-slim
2
+
3
+ WORKDIR /code
4
+
5
+ COPY ./requirements.txt $WORKDIR/requirements.txt
6
+ COPY ./config.merged.yml $WORKDIR/config.merged.yml
7
+
8
+ RUN pip install gradio --no-cache-dir
9
+ RUN pip install --no-cache-dir --upgrade -r $WORKDIR/requirements.txt
10
+
11
+ COPY ./app.py $WORKDIR/app.py
12
+
13
+ EXPOSE 7860
14
+
15
+ CMD ["python", "app.py"]