tudorgeorgescu commited on
Commit
bfad364
·
verified ·
1 Parent(s): dd96626

dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the official Streamlit image
2
+ FROM streamlit/streamlit:latest
3
+
4
+ # Install dependencies
5
+ RUN pip install spacy
6
+
7
+ # Download the language model
8
+ RUN python -m spacy download en_core_web_md
9
+
10
+ # Copy the app files
11
+ COPY app.py /app/app.py
12
+ COPY requirements.txt /app/requirements.txt
13
+
14
+ # Set the working directory
15
+ WORKDIR /app
16
+
17
+ # Run the app
18
+ CMD ["streamlit", "run", "app.py"]