lumi-api/Dockerfile

16 lines
332 B
Text
Raw Permalink Normal View History

ARG BASE_IMAGE=sutty/rails
ARG ALPINE_VERSION=3.13.8
ARG RUBY_VERSION=2.7
ARG RUBY_PATCH=5
FROM ${BASE_IMAGE}:${ALPINE_VERSION}-${RUBY_VERSION}.${RUBY_PATCH}
2019-04-05 22:44:06 +00:00
ENV RAILS_ENV production
RUN apk add --no-cache libxslt libxml2 sqlite-libs
2019-04-05 22:44:06 +00:00
RUN gem install --no-document --no-user-install foreman
2019-04-05 22:44:06 +00:00
VOLUME "/srv"
2019-04-05 22:44:06 +00:00
EXPOSE 3000
EXPOSE 9394