We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03fb5dd commit e143ec8Copy full SHA for e143ec8
3 files changed
.gitignore
@@ -5,4 +5,5 @@ features/config.yml
5
logs/bbb.log
6
rdoc/
7
logs/*
8
-.bundle/
+.bundle/
9
+.volumes/
Dockerfile
@@ -0,0 +1,13 @@
1
+FROM ruby:2.3.8
2
+
3
+ENV app /usr/src/app
4
+# Create app directory
+RUN mkdir -p $app
+WORKDIR $app
+# Bundle app source
10
+COPY . $app
11
12
+# Install app dependencies
13
+RUN bundle install
docker-compose.yml
@@ -0,0 +1,10 @@
+version: '2'
+services:
+ test:
+ build: .
+ tty: true
+ volumes:
+ - $PWD:/usr/src/app
+ - .volumes/bundle/:/usr/local/bundle
+ command: bundle exec rake
0 commit comments