File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 1
- FROM ruby:3.4.1
1
+ FROM ruby:3.4.1-bullseye
2
2
3
3
ENV RACK_ENV=production
4
4
ENV RAILS_ENV=production
@@ -9,13 +9,9 @@ EXPOSE 8080
9
9
10
10
SHELL ["/bin/bash" , "-c" ]
11
11
12
- WORKDIR /app
13
- ADD Gemfile Gemfile.lock /app/
14
- RUN gem install bundler:$BUNDLER_VERSION && bundle install
15
-
16
12
RUN apt-get update \
17
13
&& apt-get install -y --no-install-recommends \
18
- supervisor locales nodejs vim nano \
14
+ python3-pkg-resources supervisor locales nodejs vim nano \
19
15
&& apt-get clean \
20
16
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
21
17
@@ -39,6 +35,10 @@ RUN curl -fsSLO "$SUPERCRONIC_URL" \
39
35
&& mv "$SUPERCRONIC" "/usr/local/bin/${SUPERCRONIC}" \
40
36
&& ln -s "/usr/local/bin/${SUPERCRONIC}" /usr/local/bin/supercronic
41
37
38
+ WORKDIR /app
39
+ ADD Gemfile Gemfile.lock /app/
40
+ RUN gem install bundler:$BUNDLER_VERSION && bundle install
41
+
42
42
ADD docker/supervisord.conf /etc/supervisord.conf
43
43
ADD docker/start.sh /app/
44
44
ADD . /app
Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ group :development, :test do
43
43
gem "coveralls_reborn" , require : false
44
44
gem "debug"
45
45
gem "factory_bot"
46
- gem "pry-byebug"
47
46
gem "rspec"
48
47
gem "rspec-rails"
49
48
gem "simplecov"
You can’t perform that action at this time.
0 commit comments