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

removed duplicated Dockerfile

parent 00d69c3b
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ CURL_URL="https://registry.hub.docker.com/u/rocketchat/rocket.chat/trigger/$PUSH ...@@ -7,7 +7,7 @@ CURL_URL="https://registry.hub.docker.com/u/rocketchat/rocket.chat/trigger/$PUSH
if [[ -v "$TRAVIS_TAG" ]]; then if [[ -v "$TRAVIS_TAG" ]]; then
CURL_DATA='{"source_type":"Tag","source_name":"'"$TRAVIS_TAG"'"}'; CURL_DATA='{"source_type":"Tag","source_name":"'"$TRAVIS_TAG"'"}';
else else
CURL_DATA='{"docker_tag":"develop"}'; CURL_DATA='{"source_type":"Branch","source_name":"develop"}';
fi fi
curl -H "Content-Type: application/json" --data "$CURL_DATA" -X POST "$CURL_URL" curl -H "Content-Type: application/json" --data "$CURL_DATA" -X POST "$CURL_URL"
FROM node:0.10
MAINTAINER buildmaster@rocket.chat
RUN groupadd -r rocketchat \
&& useradd -r -g rocketchat rocketchat \
&& mkdir /app \
&& mkdir /app/uploads
# gpg: key 4FD08014: public key "Rocket.Chat Buildmaster <buildmaster@rocket.chat>" imported
RUN gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 0E163286C20D07B9787EBE9FD7F9D0414FD08104
WORKDIR /app
RUN curl -fSL https://rocket.chat/releases/latest/download -o rocket.chat.tgz \
&& tar zxvf ./rocket.chat.tgz \
&& rm ./rocket.chat.tgz \
&& cd /app/bundle/programs/server \
&& npm install
USER rocketchat
VOLUME /app/uploads
WORKDIR /app/bundle
# needs a mongoinstance - defaults to container linking with alias 'mongo'
ENV MONGO_URL=mongodb://mongo:27017/rocketchat \
PORT=3000 \
ROOT_URL=http://localhost:3000 \
Accounts_AvatarStorePath=/app/uploads
EXPOSE 3000
CMD ["node", "main.js"]
## v.NEXT ## NEXT
-
## v0.12.0, 2016-Jan-04 ## 0.12.1, 2016-Jan-05
- Fix problem with middleware that tries to parse json body
## 0.12.0, 2016-Jan-04
- Settings: unset section if none is given on update - Settings: unset section if none is given on update
- Hide registration and forgot password links when hidding login form - Hide registration and forgot password links when hidding login form
...@@ -19,7 +24,7 @@ ...@@ -19,7 +24,7 @@
- Try to parse all request bodies as JSON - Try to parse all request bodies as JSON
- New password reset screen - New password reset screen
## v0.11.0, 2015-Dec-28 ## 0.11.0, 2015-Dec-28
- Add role bot to users of integrations in scope bot - Add role bot to users of integrations in scope bot
- Add route to cadastre new integrations via API - Add route to cadastre new integrations via API
...@@ -62,15 +67,15 @@ ...@@ -62,15 +67,15 @@
- Turn channel and triggerWords optional in triggers - Turn channel and triggerWords optional in triggers
- Using branding image from main APP - Using branding image from main APP
## v0.10.2, 2015-Dec-22 ## 0.10.2, 2015-Dec-22
- Fixes image preview bugs with filenames containing spaces - Fixes image preview bugs with filenames containing spaces
## v0.10.1, 2015-Dec-21 ## 0.10.1, 2015-Dec-21
- Fix upload permissions introduced in raik:ufs 0.3.4 - Fix upload permissions introduced in raik:ufs 0.3.4
## v0.10.0, 2015-Dec-21 ## 0.10.0, 2015-Dec-21
- Accept property *msg* as text in attachments - Accept property *msg* as text in attachments
- Add "Room has been deleted" entry - Add "Room has been deleted" entry
...@@ -170,7 +175,7 @@ ...@@ -170,7 +175,7 @@
- Use attachments to render preview of uploads and use relative paths - Use attachments to render preview of uploads and use relative paths
- Using flow-router group routes - Using flow-router group routes
## v0.9.0, 2015-Dec-14 ## 0.9.0, 2015-Dec-14
- Fix broken image-link when og:image contains "&amp;" (e.g. Google Maps) - Fix broken image-link when og:image contains "&amp;" (e.g. Google Maps)
- Error message when file upload media type it not accepted - Error message when file upload media type it not accepted
...@@ -212,7 +217,7 @@ ...@@ -212,7 +217,7 @@
- Fixed blockquote non-continous border - Fixed blockquote non-continous border
- Moved accountBox HTML to new separated template - Moved accountBox HTML to new separated template
## v0.8.0, 2015-Dec-8 ## 0.8.0, 2015-Dec-8
- Fixed error: when allow change username was set to false, registration - Fixed error: when allow change username was set to false, registration
- Improve message rendering removing MessageAction from render time - Improve message rendering removing MessageAction from render time
...@@ -243,6 +248,6 @@ ...@@ -243,6 +248,6 @@
- Clear iOS app badge on app startup - Clear iOS app badge on app startup
- Fix for image swipebox to show in RTL interface - Fix for image swipebox to show in RTL interface
## v0.1.0, 2015-May-19 ## 0.1.0, 2015-May-19
- Initial public launch - Initial public launch
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