link-share/Dockerfile

18 lines
377 B
Text
Raw Normal View History

2017-09-27 14:58:54 -04:00
FROM ruby:2.4.2-alpine
2015-07-21 10:33:31 -04:00
RUN export LANG=en_US.UTF-8 && \
export LANGUAGE=en_US.UTF-8 && \
export LC_ALL=en_US.UTF-8
RUN apk update \
2017-09-27 14:58:54 -04:00
&& apk add build-base sqlite-dev \
2015-07-21 10:33:31 -04:00
&& rm -rf /var/cache/apk*
WORKDIR /app
COPY Gemfile* ./
RUN bundle install --path=vendor/bundle --jobs=4 --without=development test
COPY . /app
EXPOSE 9292
2015-07-21 10:33:31 -04:00
CMD bundle exec rackup -o 0.0.0.0