1
0
Fork 0

Build docker container

This commit is contained in:
Andrew Tomaka 2018-01-10 09:08:50 -05:00
parent 93ae2299ee
commit 9071365381
3 changed files with 14 additions and 0 deletions

1
.dockerignore Normal file
View File

@ -0,0 +1 @@
.git/

1
.ruby-version Normal file
View File

@ -0,0 +1 @@
2.4.2

12
Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM ruby:2.2.7-alpine
ADD Gemfile* /app/
RUN apk add --no-cache --virtual .build-deps build-base \
&& cd /app; bundle install \
&& apk del .build-deps
ADD . /app
WORKDIR /app
CMD ["ruby", "comcast-bandwidth.rb"]