Skip to content
Snippets Groups Projects
Commit 589133d2 authored by Gabriel Engel's avatar Gabriel Engel
Browse files

fixing default path for avatars

parent e5c5daac
No related merge requests found
......@@ -3,8 +3,8 @@ FROM node:0.10
MAINTAINER buildmaster@rocket.chat
RUN apt-get update \
&& apt-get install -y graphicsmagick \
&& rm -rf /var/lib/apt/lists/*
&& apt-get install -y graphicsmagick \
&& rm -rf /var/lib/apt/lists/*
RUN groupadd -r rocketchat \
&& useradd -r -g rocketchat rocketchat \
......@@ -21,9 +21,12 @@ RUN curl -fSL "https://s3.amazonaws.com/rocketchatbuild/rocket.chat-v.latest.tgz
&& cd /app/bundle/programs/server \
&& npm install
WORKDIR /app/bundle
USER rocketchat
RUN mkdir ~/uploads
WORKDIR /app/bundle
# needs a mongoinstance - defaults to container linking with alias 'db'
ENV MONGO_URL=mongodb://db:27017/meteor \
PORT=3000 \
......
......@@ -8,10 +8,11 @@ db:
rocketchat:
image: rocketchat/rocket.chat
environment:
- ROOT=3000
- ROOT_URL=http://yourhost:3000
- MONGO_URL=mongodb://db:27017/rocketchat
- ROOT_URL=http://yourhost:8818
links:
- db:db
ports:
- 8818:3000
- 3000:3000
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