681f0b150d
Bumps ruby from 3.2.0-slim to 3.2.1-slim. --- updated-dependencies: - dependency-name: ruby dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
26 lines
493 B
Docker
26 lines
493 B
Docker
FROM ruby:3.2.1-slim
|
|
|
|
RUN apt-get update -qq && apt-get install -yq --no-install-recommends \
|
|
build-essential \
|
|
gnupg2 \
|
|
less \
|
|
git \
|
|
libpq-dev \
|
|
postgresql-client \
|
|
libvips \
|
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
|
|
|
ENV LANG=C.UTF-8 \
|
|
BUNDLE_JOBS=4 \
|
|
BUNDLE_RETRY=3
|
|
|
|
RUN gem update --system && gem install bundler
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
ENTRYPOINT ["./bin/docker-entrypoint.sh"]
|
|
|
|
EXPOSE 3000
|
|
|
|
CMD ["bundle", "exec", "rails", "s", "-b", "0.0.0.0"]
|