forked from girder/girder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
34 lines (27 loc) · 955 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
33
34
FROM node:0.10.40
MAINTAINER Patrick Reynolds <[email protected]>
EXPOSE 8080
RUN mkdir /girder
RUN mkdir /girder/logs
RUN apt-get update && apt-get install -qy software-properties-common python-software-properties && \
apt-get update && apt-get install -qy \
build-essential \
git \
libffi-dev \
libpython-dev && \
apt-get clean && rm -rf /var/lib/apt/lists/*
RUN wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py
WORKDIR /girder
COPY girder /girder/girder
COPY clients /girder/clients
COPY plugins /girder/plugins
COPY scripts /girder/scripts
COPY grunt_tasks /girder/grunt_tasks
COPY Gruntfile.js /girder/Gruntfile.js
COPY setup.py /girder/setup.py
COPY package.json /girder/package.json
COPY README.rst /girder/README.rst
RUN pip install -e .[plugins]
RUN npm install -g grunt-cli && npm cache clear
RUN npm install --production --unsafe-perm && npm cache clear
ENTRYPOINT ["python", "-m", "girder"]