forked from totallylegitco/fighthealthinsurance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCombinedDockerfile
22 lines (18 loc) · 868 Bytes
/
CombinedDockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
ARG DEBIAN_FRONTEND=noninteractive
ARG RAY_VERSION
FROM holdenk/ray:${RAY_VERSION}
# install some tools
RUN sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install vim emacs libssl-dev python3-opencv libgl1 tesseract-ocr nano nfs-common iputils-ping hylafax-client build-essential python3-dev pkg-config pandoc texlive -y
RUN sudo apt-get install -y libmariadb-dev-compat
# Copy hylafax settings
RUN mkdir -p /etc/hylafax
COPY hylafax-settings/* /etc/hylafax
# Installed seperately because only used in prod
COPY *requirements.txt ./
RUN $HOME/anaconda3/bin/pip install --upgrade pip
RUN $HOME/anaconda3/bin/pip install -r requirements.txt
RUN $HOME/anaconda3/bin/pip install -r deploy-requirements.txt
RUN mkdir -p ./fhi
COPY fighthealthinsurance ./fhi/fighthealthinsurance
COPY setup.py ./fhi/setup.py
RUN $HOME/anaconda3/bin/pip install -e ./fhi/