Commit a951f488 authored by pierreozoux's avatar pierreozoux

First commit

parent bf860c62
FROM node:0.10.39
RUN groupadd -r rocketchat \
&& useradd -r -g rocketchat rocketchat
# gpg: key 4FD08014: public key "Rocket.Chat Buildmaster <>" imported
RUN gpg --keyserver --recv-keys 0E163286C20D07B9787EBE9FD7F9D0414FD08104
RUN curl -fSL "$RC_VERSION/$RC_VERSION.tgz" -o \
&& curl -fSL "$RC_VERSION/$RC_VERSION.tgz.asc" -o \
&& gpg --verify \
&& tar zxvf ./ \
&& rm ./
WORKDIR /app/bundle/programs/server
RUN npm install
WORKDIR /app/bundle
USER rocketchat
ENV MONGO_URL=mongodb://db:27017/meteor
CMD ["node", "main.js"]
# Official Image Here
# Official Rocket.Chat image
## Supported tags and respective `Dockerfile` links
- [`0.4.0`, `latest` (*Dockerfile*)](
For more information about this image and its history, please see the [relevant manifest file (`library/Rocket.Chat`)]( in the [`docker-library/official-images` GitHub repo](
## Rocket.Chat
Rocket.Chat is a Web Chat Server, developed in JavaScript, using the Meteor fullstack framework.
It is a great solution for communities and companies wanting to privately host their own chat service or for developers looking forward to build and evolve their own chat platforms.
![Rocket.Chat logo](
## How to use this image
First, start an instance of mongo:
docker run --name db -d mongo mongod --smallfiles
Then start Rocket.Chat linked to this mongo instance:
docker run --name rocketchat --env ROOT_URL=http://localhost --link db Rocket.Chat
This will start a Ghost instance listening on the default Ghost port of 3000.
If you'd like to be able to access the instance from the host without the container's IP, standard port mappings can be used:
docker run --name rocketchat -p 80:3000 --env ROOT_URL=http://localhost --link db:db -d Rocket.Chat
Then, access it via `http://localhost:80` or `http://host-ip:80` in a browser.
## User Feedback
### Documentation
Documentation for this image is stored in the [`Rocket.Chat/` directory]( of the [`docker-library/docs` GitHub repo]( Be sure to familiarize yourself with the [repository's `` file]( before attempting a pull request.
### Issues
If you have any problems with or questions about this image, please contact us through a [GitHub issue](
You can also reach many of the official image maintainers via the `#docker-library` IRC channel on [Freenode](
### Contributing
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
Before you start to code, we recommend discussing your plans through a [GitHub issue](, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment