2022-03-12 18:57:02 +00:00
|
|
|
ARG BASE_IMAGE=registry.nulo.in/sutty/rails
|
|
|
|
ARG ALPINE_VERSION=3.13.6
|
|
|
|
ARG RUBY_VERSION=2.7
|
|
|
|
ARG RUBY_PATCH=5
|
|
|
|
FROM ${BASE_IMAGE}:${ALPINE_VERSION}-${RUBY_VERSION}.${RUBY_PATCH}
|
2021-07-19 22:00:12 +00:00
|
|
|
ENV RAILS_ENV production
|
|
|
|
|
2022-03-12 19:10:48 +00:00
|
|
|
RUN apk add --no-cache libxslt libxml2 tzdata postgresql-libs libstdc++
|
2021-07-19 22:00:12 +00:00
|
|
|
|
2022-03-12 18:57:02 +00:00
|
|
|
VOLUME "/srv"
|
2021-07-19 22:00:12 +00:00
|
|
|
|
|
|
|
EXPOSE 3000
|
2022-03-12 18:57:02 +00:00
|
|
|
EXPOSE 9394
|