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
81d46cfb
Commit
81d46cfb
authored
9 years ago
by
Gabriel Engel
Browse files
Options
Downloads
Patches
Plain Diff
future Dokerfile for Github assets
parent
74284cb9
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.docker/dockerfiles/latest/Dockerfile
+40
-0
40 additions, 0 deletions
.docker/dockerfiles/latest/Dockerfile
.sandstorm/README.md
+8
-0
8 additions, 0 deletions
.sandstorm/README.md
with
48 additions
and
0 deletions
.docker/dockerfiles/latest/Dockerfile
0 → 100644
+
40
−
0
View file @
81d46cfb
FROM
node:0.10
MAINTAINER
buildmaster@rocket.chat
RUN
apt-get update
\
&&
apt-get
install
-y
graphicsmagick
\
&&
rm
-rf
/var/lib/apt/lists/
*
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
URL
=
"https://github.com/RocketChat/Rocket.Chat/releases/latest"
\
&&
FILE
=
"/rocket.chat.tgz"
\
&&
HEADER
=
$(
curl
-I
-s
"
$URL
"
|
grep
-Fi
Location: |
sed
-En
's/.*(https?:\/\/[a-zA-Z0-9\/.-_]*).*$/\1/p'
)
\
&&
curl
-fSL
"
$HEADER$FILE
"
-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"]
This diff is collapsed.
Click to expand it.
.sandstorm/README.md
0 → 100644
+
8
−
0
View file @
81d46cfb
# Publish commands
```
cd Rocket.Chat
vagrant-spk up && vagrant-spk dev
^C
vagrant-spk pack ../rocketchat.spk && vagrant-spk publish ../rocketchat.spk
```
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