Commit 51aa07ac authored by Michał 'rysiek' Woźniak's avatar Michał 'rysiek' Woźniak
Browse files

testing...

parent 407641dd
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment