-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
35 lines (25 loc) · 753 Bytes
/
Dockerfile
File metadata and controls
35 lines (25 loc) · 753 Bytes
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
FROM node:0.12.7
MAINTAINER Daniel Holzmann <d@velopment.at>
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates curl graphicsmagick \
numactl locales bzip2 build-essential python git \
&& rm -rf /var/lib/apt/lists/*
# meteor
RUN curl https://install.meteor.com/ | sh
RUN mkdir -p /usr/src/app
VOLUME /usr/src/app
WORKDIR /usr/src/app
RUN npm install -g velocity-cli gulp phantomjs
ENV JASMINE_BROWSER PhantomJS
ENV PORT 3000
ENV JASMINE_MIRROR_PORT 5000
# fix issue with MongoDB and missing locale
# https://github.com/meteor/meteor/issues/4019
RUN dpkg-reconfigure locales && \
locale-gen C.UTF-8 && \
/usr/sbin/update-locale LANG=C.UTF-8
ENV LC_ALL C.UTF-8
EXPOSE 5000
EXPOSE 3000
EXPOSE 3001