link-share/Dockerfile
2016-01-11 14:22:15 -05:00

17 lines
421 B
Docker

FROM alpine:latest
RUN export LANG=en_US.UTF-8 && \
export LANGUAGE=en_US.UTF-8 && \
export LC_ALL=en_US.UTF-8
RUN apk update \
&& apk add build-base ruby-dev sqlite-dev \
&& apk add ruby ruby-bundler ruby-io-console \
&& rm -rf /var/cache/apk*
WORKDIR /app
COPY Gemfile* ./
RUN bundle install --path=vendor/bundle --jobs=4 --without=development test
COPY . /app
CMD bundle exec rackup -o 0.0.0.0