hugbump commited on
Commit
c60cafd
1 Parent(s): 9c87d15

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -0
Dockerfile ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.7
2
+ EXPOSE 8501
3
+ WORKDIR /app
4
+ # Docker Copy is a directive or instruction that is used in a Dockerfile to copy files or directories from local machine to the container filesystem where the source is the local path and destination is the path in the container filesystem. We can specify the destination as an absolute path or relative to the WORKDIR directive if the WORKDIR directive is defined in the Dockerfile.
5
+ COPY requirements.txt ./requirements.txt
6
+ RUN pip3 install -r requirements.txt
7
+ RUN python -m spacy download en_core_web_sm --default-timeout=900
8
+ COPY . .
9
+ CMD streamlit run app.py