-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
50 lines (35 loc) · 1.18 KB
/
Dockerfile
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
FROM python:3.6.10
WORKDIR /app
RUN apt-get update
RUN apt-get install 'ffmpeg'\
'libsm6'\
'libxext6' -y
RUN mkdir model
RUN mkdir data
RUN mkdir prediction
ADD requirements.txt /app
ADD data.py /app
ADD model.py /app
ADD get_file_list.py /app
ADD pca_model.sav /app
ADD clf_model.sav /app
COPY training_data /app/training_data
#RUN git clone https://github.com/xtracthub/xtracthub-service.git \
# && cp xtracthub-service/exceptions.py /
# RUN git clone -b xtract-theta https://github.com/funcx-faas/funcx.git
# RUN cd funcx && pip install funcx_sdk/ funcx_endpoint/ && cd ..
ENV container_version=0
# RUN pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib
RUN pip3 install --trusted-host pypi.python.org -r requirements.txt
# RUN pip install --no-cache parsl==0.9.0
# RUN pip install xtract-sdk==0.0.5
RUN pip install --upgrade pip
RUN pip install tensorflow==2.1
RUN pip install datasketch
ADD test.py /app
ADD xtract_images_main.py /app
RUN apt-get install libsm6 libxext6 -y
#RUN add-apt-repository ppa:mc3man/trusty-media
RUN echo hi
RUN apt-get update && apt-get install -y libgl1-mesa-dev
#RUN apt-get install ffmpeg gstreamer0.10-ffmpeg