Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
libre
webschlocker3
Commits
51aa07ac
Commit
51aa07ac
authored
Apr 19, 2016
by
Michał 'rysiek' Woźniak
Browse files
testing...
parent
407641dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Dockerfile
Dockerfile
+1
-1
No files found.
Dockerfile
View file @
51aa07ac
...
...
@@ -25,4 +25,4 @@ COPY webschleuder.yml /opt/webschleuder3/config/webschleuder.yml
WORKDIR
/opt/webschleuder3
EXPOSE
3000
CMD
SECRET_KEY_BASE="$( echo $RANDOM | sha256sum | sed -r -e 's/\s+-//' )$( echo $RANDOM | sha256sum | sed -r -e 's/\s+-//' )" bundle exec rails server -b 0.0.0.0 -e production
\ No newline at end of file
CMD
export SECRET_KEY_BASE="$( echo $RANDOM | sha256sum | sed -r -e 's/\s+-//' )$( echo $RANDOM | sha256sum | sed -r -e 's/\s+-//' )" && bundle exec rake db:setup RAILS_ENV=production && bundle exec rails server -b 0.0.0.0 -e production
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment