Skip to content

Commit

Permalink
Update app to 3.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dwilkie committed May 30, 2024
1 parent 0bcb892 commit 92cc69f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/app/.tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby 3.2.2
ruby 3.3.1
7 changes: 4 additions & 3 deletions components/app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM ruby:3.2-alpine AS build-env
ARG RUBY_VERSION=3.3
FROM public.ecr.aws/docker/library/ruby:$RUBY_VERSION-alpine AS build-image

ARG APP_ROOT="/app"
ENV BUNDLE_APP_CONFIG="/app/.bundle"
Expand All @@ -23,7 +24,7 @@ RUN mkdir -p tmp/pids
RUN rm -rf vendor/bundle/ruby/*/cache/ && find vendor/ -name "*.o" -delete && find vendor/ -name "*.c"


FROM ruby:3.2-alpine
FROM public.ecr.aws/docker/library/ruby:$RUBY_VERSION-alpine

ARG APP_ROOT="/app"
ENV BUNDLE_APP_CONFIG="/app/.bundle"
Expand All @@ -35,6 +36,6 @@ RUN apk update && \
apk add --update --no-cache build-base pcre-dev && \
gem install bundler

COPY --from=build-env $APP_ROOT $APP_ROOT
COPY --from=build-image $APP_ROOT $APP_ROOT

CMD ["bundle", "exec", "ahn", "start", "--no-console"]

0 comments on commit 92cc69f

Please sign in to comment.