We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f679e1d commit 0eebeccCopy full SHA for 0eebecc
Dockerfile
@@ -0,0 +1,6 @@
1
+FROM python:3
2
+RUN pip install -U scikit-learn && pip install Flask
3
+WORKDIR /app
4
+COPY . /app
5
+EXPOSE 5000
6
+CMD python app.py
app.py
@@ -24,3 +24,6 @@ def windRegression(data):
24
def kmeansClustering(data):
25
param = data.split('&')
26
return kmeansRides.clusterActivities(param[0], int(param[1]))
27
+
28
+if __name__ == '__main__':
29
+ app.run(host='0.0.0.0', port=5000)
start.sh
100644
100755
0 commit comments