We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c40ec96 commit ff7b018Copy full SHA for ff7b018
Dockerfile
@@ -7,5 +7,4 @@ ADD Gemfile.lock /myapp/Gemfile.lock
7
RUN bundle install
8
RUN rails db:setup
9
ADD . /myapp
10
-CMD bundle exec rails s -p 3000 -b '0.0.0.0'
11
-
+CMD bundle exec rails s -p 3000 -b '0.0.0.0'
tools/build.sh
@@ -0,0 +1 @@
1
+docker build -f Dockerfile -t railsgoat:latest .
tools/run.sh
+docker run --rm -it -p 3000:3000 railsgoat
0 commit comments