-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
41 lines (33 loc) · 1002 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
38
39
40
41
# Heavy-weight docker file for development on OmniC
FROM python:3.6.2-stretch
MAINTAINER michaelb <[email protected]>
ENV PYTHONUNBUFFERED 1
# NOTE: Node.js is not version locked, see #47
RUN curl -sL http://deb.nodesource.com/setup_6.x | bash -
# Install system reqs
RUN apt-get update && apt-get install -y \
imagemagick=8:6.9.7.4+dfsg-11+deb9u1 \
inkscape=0.92.1-1 \
meshlab=1.3.2+dfsg1-3 \
ffmpeg=7:3.2.7-1~deb9u1 \
ffmpegthumbnailer=2.1.1-0.1+b3 \
pandoc=1.17.2~dfsg-3 \
nodejs=6* \
openbabel=2.3.2+dfsg-3 \
highlight=3.18-3+b5 \
unoconv=0.7-1.1
RUN npm install -g \
# Setup python reqs
COPY ./test/requirements.txt /requirements.txt
RUN pip install --no-cache-dir -r /requirements.txt \
&& rm /requirements.txt
# Setup code directory
ADD . /app
WORKDIR /app
EXPOSE 8080
CMD ./bin/omnic runserver --host=0.0.0.0 --port=8080