-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathDockerfile
32 lines (23 loc) · 830 Bytes
/
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
# Development Dockerfile to make testing easier under a standardized environment.
# XXX Do not use for production as-is
FROM python:2.7
LABEL maintainer Ginkgo Bioworks <[email protected]>
ARG GIT_USER_NAME="Curious Default"
ARG GIT_USER_EMAIL="[email protected]"
RUN git config --global user.name "$GIT_USER_NAME" \
&& git config --global user.email "$GIT_USER_EMAIL"
ARG DEBIAN_FRONTEND=noninteractive
ENV CURIOUS_HOME=/usr/src/curious \
SERVER_IP=0.0.0.0 \
SERVER_PORT=8080
RUN apt-get update
RUN apt-get install --assume-yes apt-utils nodejs nodejs-legacy npm
RUN npm install --global bower
RUN mkdir -p $CURIOUS_HOME
WORKDIR $CURIOUS_HOME
COPY requirements.txt ./
RUN pip install --requirement requirements.txt
COPY . ./
RUN pip install --editable .
EXPOSE $SERVER_PORT
CMD ["make", "start"]