-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
51 lines (41 loc) · 1.06 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
51
FROM python:3.6
RUN apt-get update --fix-missing
RUN apt-get install -y apt-utils
RUN apt-get install -y build-essential \
ca-certificates \
git \
pkg-config \
python \
python-all-dev \
python-setuptools \
python-dev \
build-essential \
gfortran \
libatlas-base-dev \
libatlas3-base \
python-dev \
libjpeg-dev \
libxml2-dev \
libfreetype6-dev \
libpng-dev \
unzip \
zip \
zsh && \
rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -f -y postgresql-client
ENV TERM xterm
COPY ./bender_service/requirements.txt /requirements.txt
RUN pip install pip --upgrade
RUN pip install -r /requirements.txt
RUN curl https://cdn.rawgit.com/zsh-users/antigen/v1.0.4/antigen.zsh > /root/antigen.zsh
COPY ./scripts/.bashrc /root/.bashrc
COPY ./scripts/.zshrc /root/.zshrc
RUN /bin/zsh /root/.zshrc
COPY ./scripts/run_development.sh /run_development.sh
COPY ./scripts/run_packaged.sh /run_packaged.sh
COPY ./scripts/run_web.sh /run_web.sh
COPY ./scripts/run_web.sh /run_tests.sh
RUN pip install benderopt==1.3.1
COPY ./bender_service /usr/src/app
WORKDIR /usr/src/app
EXPOSE 8000