vrkforever commited on
Commit
350c482
·
1 Parent(s): 4ea700c

Add application file

Browse files
Files changed (2) hide show
  1. disaster_classification_model.joblib +0 -0
  2. dockerfile +12 -0
disaster_classification_model.joblib ADDED
Binary file (180 kB). View file
 
dockerfile ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9
2
+
3
+ WORKDIR /code
4
+
5
+ COPY ./requirements.txt /code/requirements.txt
6
+
7
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
+
9
+ COPY ./app.py /code/app.py
10
+ COPY ./disaster_classification_model.joblib /code/disaster_classification_model.joblib
11
+
12
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]