13 lines
313 B
Docker
13 lines
313 B
Docker
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}
|
|
ENV RAILS_ENV production
|
|
|
|
RUN apk add --no-cache libxslt libxml2 tzdata postgresql-libs libstdc++
|
|
|
|
VOLUME "/srv"
|
|
|
|
EXPOSE 3000
|
|
EXPOSE 9394
|