Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rocket.Chat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RocketChat
Rocket.Chat
Commits
95c39ee8
Commit
95c39ee8
authored
9 years ago
by
S. Li
Browse files
Options
Downloads
Patches
Plain Diff
update dockerfile to eliminate problematic meteor build
parent
55015d9e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+27
-1
27 additions, 1 deletion
Dockerfile
with
27 additions
and
1 deletion
Dockerfile
+
27
−
1
View file @
95c39ee8
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment