Build docker container
This commit is contained in:
parent
93ae2299ee
commit
9071365381
3 changed files with 14 additions and 0 deletions
1
.dockerignore
Normal file
1
.dockerignore
Normal file
|
@ -0,0 +1 @@
|
||||||
|
.git/
|
1
.ruby-version
Normal file
1
.ruby-version
Normal file
|
@ -0,0 +1 @@
|
||||||
|
2.4.2
|
12
Dockerfile
Normal file
12
Dockerfile
Normal 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"]
|
Loading…
Reference in a new issue