Skip to content


First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
pierreozoux committed Jul 10, 2015
1 parent bf860c6 commit a951f48
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

28 changes: 28 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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"]

52 changes: 51 additions & 1 deletion
Original file line number Diff line number Diff line change
@@ -1,2 +1,52 @@
# 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.

0 comments on commit a951f48

Please sign in to comment.