Files
baclight/Dockerfile
T

27 lines
475 B
Docker
Raw Normal View History

2022-02-18 11:59:10 -08:00
FROM ruby:3.1.1-slim
2021-12-03 11:25:29 -08:00
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
2022-03-15 20:59:43 -07:00
gnupg2 \
curl \
less \
git \
2021-12-03 11:25:29 -08:00
libpq-dev \
postgresql-client \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
2021-09-26 14:32:21 -07:00
2022-03-15 20:59:43 -07:00
ENV LANG=C.UTF-8 \
BUNDLE_JOBS=4 \
BUNDLE_RETRY=3
2022-02-15 12:58:42 -08:00
RUN gem update --system
2022-03-15 20:59:43 -07:00
RUN gem install bundler
2022-02-15 12:58:42 -08:00
2021-09-26 14:32:21 -07:00
WORKDIR /usr/src/app
ENTRYPOINT ["./entrypoint.sh"]
EXPOSE 3000
CMD ["bundle", "exec", "rails", "s", "-b", "0.0.0.0"]