forked from girder/girder
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile.py3
39 lines (31 loc) · 998 Bytes
/
Dockerfile.py3
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
FROM node:8-stretch
MAINTAINER Kitware, Inc. <[email protected]>
EXPOSE 8080
RUN mkdir /girder
RUN mkdir /girder/logs
RUN apt-get update && apt-get install -qy \
build-essential \
git \
libffi-dev \
libsasl2-dev \
libldap2-dev \
libpython3-dev && \
apt-get clean && rm -rf /var/lib/apt/lists/*
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
# See http://click.pocoo.org/5/python3/#python-3-surrogate-handling for more detail on
# why this is necessary.
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
ENTRYPOINT ["girder", "serve"]