Skip to content
Snippets Groups Projects
Commit 95c39ee8 authored by S. Li's avatar S. Li
Browse files

update dockerfile to eliminate problematic meteor build

parent 55015d9e
No related branches found
No related tags found
No related merge requests found
FROM meteorhacks/meteord:onbuild
FROM node:0.10
MAINTAINER buildmaster@rocket.chat
RUN groupadd -r rocketchat \
&& useradd -r -g rocketchat rocketchat
# gpg: key 4FD08014: public key "Rocket.Chat Buildmaster <buildmaster@rocket.chat>" imported
RUN gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 0E163286C20D07B9787EBE9FD7F9D0414FD08104
RUN curl -fSL "http://http://rocketchatbuild.s3-website-us-east-1.amazonaws.com/rocket.chat-v.latest.tgz" -o rocket.chat.tgz \
&& tar zxvf ./rocket.chat.tgz \
&& rm ./rocket.chat.tgz \
&& cd /app/bundle/programs/server \
&& npm install
WORKDIR /app/bundle
USER rocketchat
# needs a mongoinstance - defaults to container linking with alias 'db'
ENV MONGO_URL=mongodb://db:27017/meteor \
PORT=3000 \
ROOT_URL=http://localhost:3000
EXPOSE 3000
CMD ["node", "main.js"]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment