This repository has been archived by the owner on May 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile-arm
67 lines (53 loc) · 2.14 KB
/
Dockerfile-arm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Use an official Python runtime as a parent image
FROM garagon/solvers:arm_resin_v3
#FROM resin/raspberry-pi-python:latest
# Set the working directory to usr/src/app
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Copy the current directory contents into the container usr/src/app
COPY requirements-arm.txt /usr/src/app/
RUN apt-get autoclean
RUN apt-get clean
RUN apt-get update -y && apt-get install -y \
libatlas-base-dev libpng-dev \
libhdf5-serial-dev python3-scipy python3-h5py python3-numpy \
libatlas-dev python3-pandas python3-sklearn \
--no-install-recommends && rm -rf /var/lib/apt/lists/*
#RUN apt-get update -y && apt-get install -y \
# gcc build-essential gfortran libatlas-base-dev gfortran libblas-dev liblapack-dev libatlas-base-dev wget libpng-dev python3-pip python3-dev python3-setuptools libhdf5-serial-dev python3-scipy python3-h5py python3-numpy libatlas-dev python3-sklearn
RUN pip3 install --upgrade setuptools==41.0.0
RUN pip3 install --upgrade pip
RUN pip3 install -U requests==2.21.0
RUN pip3 install -U pyomo==5.6.1
RUN pip3 install -U pyomo.extras==2.0
RUN pip3 install -U gunicorn==20.0.4
RUN pip3 install -U sh==1.12.14
RUN pip3 install -U connexion==2.5.0
RUN pip3 install -U paho-mqtt==1.4.0
RUN pip3 install -U pyzmq==18.0.1
RUN pip3 install -U psutil==5.6.1
RUN pip3 install -U tensorflow==1.14.0
RUN pip3 install -U keras==2.3.1
RUN pip3 install -U senml==0.1.0
RUN pip3 install -U redis==2.10.6
RUN pip3 install -U Pyro4==4.77
RUN pip3 install -U numpy==1.14.5
RUN pip3 install -U stopit==1.1.2
RUN pip3 install -U Pebble==4.5.1
RUN pip3 install -U treelib
RUN pip3 install -U pandas==0.21.1
RUN pip3 install -U influxdb
# Set the working directory to usr/src/app
#RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY ofw.py /usr/src/app/
COPY optimization /usr/src/app/optimization
COPY utils /usr/src/app/utils
COPY prediction /usr/src/app/prediction
COPY swagger_server /usr/src/app/swagger_server
COPY IO /usr/src/app/IO
COPY mock_data /usr/src/app/mock_data
COPY config /usr/src/app/config
COPY utils_intern /usr/src/app/utils_intern
COPY profev /usr/src/app/profev
COPY stochastic_programming /usr/src/app/stochastic_programming