github.com/abayer/test-infra@v0.0.5/mungegithub/issue_labeler/Dockerfile (about) 1 # Copyright 2016 The Kubernetes Authors. 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); 4 # you may not use this file except in compliance with the License. 5 # You may obtain a copy of the License at 6 # 7 # http://www.apache.org/licenses/LICENSE-2.0 8 # 9 # Unless required by applicable law or agreed to in writing, software 10 # distributed under the License is distributed on an "AS IS" BASIS, 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 # See the License for the specific language governing permissions and 13 # limitations under the License. 14 15 FROM ubuntu 16 LABEL maintainer="Garrett Rodrigues grod@google.com" 17 RUN apt-get update 18 RUN apt-get install -y tar git curl nano wget dialog net-tools build-essential vim 19 RUN apt-get install -y python python-dev python-distribute python-pip 20 RUN apt-get install -y gfortran libopenblas-dev liblapack-dev 21 ADD simple_app.py / 22 ADD stopwords.txt / 23 ADD requirements.txt / 24 RUN mkdir models 25 RUN pip install -r /requirements.txt 26 EXPOSE 5000 27 CMD python simple_app.py