GH2005 commited on
Commit
ba8640b
·
verified ·
1 Parent(s): ed61db5

Update Dockerfile (1)

Browse files
Files changed (1) hide show
  1. Dockerfile (1) +2 -18
Dockerfile (1) CHANGED
@@ -1,26 +1,10 @@
1
  FROM python:3.10-slim
2
 
3
- ENV DEBIAN_FRONTEND=noninteractive
4
- ENV PYTHONDONTWRITEBYTECODE=1
5
- ENV PYTHONUNBUFFERED=1
6
-
7
- ENV GRADIO_SERVER_NAME=0.0.0.0
8
- ENV GRADIO_SERVER_PORT=7860
9
-
10
  WORKDIR /app
11
  COPY . /app
12
 
13
- # Python deps (from requirements.txt)
14
- RUN pip install --no-cache-dir -r requirements.txt
15
-
16
- # Notebook execution deps
17
- RUN pip install --no-cache-dir notebook ipykernel papermill
18
-
19
- # Pre-install packages the notebooks use via !pip install
20
- RUN pip install --no-cache-dir textblob faker vaderSentiment transformers
21
-
22
- RUN python -m ipykernel install --user --name python3 --display-name "Python 3"
23
 
24
  EXPOSE 7860
25
 
26
- CMD ["python", "app.py"]
 
1
  FROM python:3.10-slim
2
 
 
 
 
 
 
 
 
3
  WORKDIR /app
4
  COPY . /app
5
 
6
+ RUN pip install --no-cache-dir gradio
 
 
 
 
 
 
 
 
 
7
 
8
  EXPOSE 7860
9
 
10
+ CMD ["python", "app.py"]