Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
athy9193 committed Dec 9, 2020
2 parents 5506118 + 8a59e7f commit 77ab2bb
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 6 deletions.
56 changes: 56 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
############################################################
# Dockerfile to build wine_quality_prediction images
# Based on Ubuntu
############################################################

#Set base image to Ubuntu
FROM ubuntu

#Update repositor source list
RUN apt-get update

################## BEGIN INSTALLATION ######################
#Install python basics
RUN apt-get -y install \
build-essential \
python-dev \
python-setuptools

# Create Timezon Variable
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Asia/Beijing
# Install tzdata
RUN apt-get install -y tzdata

# Install python pip
RUN apt-get -y install python3-pip


#Install git
RUN apt-get -y install git-all

#Install other dependancies
RUN pip3 install matplotlib>=3.2.2
RUN pip3 install scikit-learn>=0.23.2
RUN pip3 install scipy==1.5.3
RUN pip3 install numpy>=1.19.4
RUN pip3 install pandas>=1.1.3
RUN pip3 install matplotlib>=3.3.3
RUN pip3 install requests>=2.24.0
RUN pip3 install graphviz
RUN pip3 install altair>=4.1.0
RUN pip3 install jinja2
RUN pip3 install pip>=20
RUN pip3 install pandas-profiling>=1.4.3
RUN pip3 install psutil>=5.7.2
RUN pip3 install xgboost>=1.*
RUN pip3 install lightgbm>=3.*
RUN pip3 install git+git://github.com/mgelbart/plot-classifier.git
RUN pip3 install altair-saver==0.5.0
RUN pip3 install docopt==0.6.2
RUN pip3 install selenium==3.141.0
RUN pip3 install webdriver-manager==3.2.2



CMD ["echo Finish Creating Docker Image!"]
6 changes: 0 additions & 6 deletions wine_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,15 @@ channels:
- conda-forge
- defaults
dependencies:
- vega-cli=5.6.0=0
- vega-lite-cli=3.4.0=0
- vega3=0.13.0
- ipykernel
- matplotlib>=3.2.2
- scikit-learn>=0.23.2
- scipy==1.5.3
- numpy>=1.19.4
- pandas>=1.1.3
- matplotlib>=3.3.3
- matplotlib-base>=3.3.3
- requests>=2.24.0
- graphviz
- python-graphviz
- altair>=4.1.0
- jinja2
- pip>=20
Expand All @@ -26,7 +21,6 @@ dependencies:
- xgboost>=1.*
- lightgbm>=3.*
- git+git://github.com/mgelbart/plot-classifier.git
- rpy2
- altair-saver==0.5.0
- docopt==0.6.2
- selenium==3.141.0
Expand Down

0 comments on commit 77ab2bb

Please sign in to comment.