Skip to content

Commit

Permalink
Added dockerfile to containerize ArchBot
Browse files Browse the repository at this point in the history
  • Loading branch information
ldelelis committed Nov 12, 2017
1 parent f0a5dc2 commit 28191bc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM ruby:2.4-alpine3.6

RUN mkdir /usr/src/app

COPY . /usr/src/app

WORKDIR /usr/src/app

RUN apk update && \
apk add ruby-dev build-base curl-dev && \
bundle install --gemfile=/usr/src/app/Gemfile && \
rm -rf /var/cache/apk/*

ENTRYPOINT ["./main.rb"]
2 changes: 2 additions & 0 deletions main.rb
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env ruby

require 'discordrb'
require 'fullwidth'
require 'yaml'
Expand Down

0 comments on commit 28191bc

Please sign in to comment.