FROM ruby:alpine RUN apk add make gcc libc-dev WORKDIR /app ADD gems.rb gems.locked ./ RUN bundle ADD *.rb ./ ADD index.html.erb ./ ADD saca-sapos ./ EXPOSE 4567 CMD ["bundle", "exec", "ruby", "main.rb"]