Newer
Older
csvlint-webapp / Dockerfile
FROM ruby:2.4-alpine

COPY Gemfile /webapp/
RUN \
  apk --no-cache -t .dev add build-base git && \
  cd /webapp && \
  bundle && \
  bundle install && \
  apk del .dev && \
  apk --no-cache add libcurl

COPY app.rb /webapp/
COPY public /webapp/public
COPY views /webapp/views

WORKDIR /webapp
EXPOSE 4567
CMD ["ruby", "app.rb"]