File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
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,10 +9,6 @@ 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
14
supervisor locales nodejs vim nano \
@@ -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
You can’t perform that action at this time.
0 commit comments