forked from girder/girder
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
37 lines (30 loc) · 917 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
35
36
37
FROM node:8-stretch
MAINTAINER Kitware, Inc. <kitware@kitware.com>
EXPOSE 8080
RUN mkdir /girder
RUN mkdir /girder/logs
RUN apt-get update && apt-get install -qy \
build-essential \
git \
xsltproc \
libffi-dev \
libsasl2-dev \
libssl-dev \
libldap2-dev \
libpython2.7-dev && \
apt-get clean && rm -rf /var/lib/apt/lists/*
RUN npm config set progress false
RUN wget https://bootstrap.pypa.io/get-pip.py && python3 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 --upgrade --upgrade-strategy eager --editable .[plugins]
RUN girder-install web --all-plugins
ENTRYPOINT ["girder", "serve"]