daniel-dobos commited on
Commit
e5bf058
1 Parent(s): b17efee

Upload 4 files

Browse files
Files changed (4) hide show
  1. Dockerfile +11 -0
  2. app.ipynb +0 -0
  3. requirements.txt +5 -0
  4. suppliers.csv +9 -0
Dockerfile ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
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 . .
10
+
11
+ CMD ["mnn", "serve", "/code/app.ipynb", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*"]
app.ipynb ADDED
The diff for this file is too large to render. See raw diff
 
requirements.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ jupyter
2
+ pandas
3
+ plotly
4
+ manganite
5
+ cvxpy
suppliers.csv ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ ,Price,Union,Rail,Volatility,Capacity
2
+ Ashley,49500.0,True,True,0.15,300
3
+ Bedford,50000.0,True,False,0.16,600
4
+ Consol,61000.0,False,True,0.18,510
5
+ Dunby,63500.0,True,False,0.2,655
6
+ Earlam,66500.0,False,False,0.21,575
7
+ Florence,71000.0,True,False,0.22,680
8
+ Gaston,72500.0,False,True,0.23,450
9
+ Hopt,80000.0,False,True,0.25,490