We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94773e1 commit 70b8e1fCopy full SHA for 70b8e1f
Dockerfile
@@ -0,0 +1,9 @@
1
+# This dockerfile is used to build sandbox image for docker clouds. It's not meant to be used in projects
2
+FROM ruby:2.4.0
3
+RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs
4
+RUN mkdir /spree
5
+WORKDIR /spree
6
+ADD . /spree
7
+RUN bundle install
8
+RUN bundle exec rake sandbox
9
+CMD ["sh", "docker-entrypoint.sh"]
docker-entrypoint.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+# This is entrypoint for docker image of spree sandbox on docker cloud
+
+RAILS_ENV=development cd sandbox && bundle exec rails s -p 3000 -b '0.0.0.0'
0 commit comments