File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed
Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 1+ # syntax=docker/dockerfile:1.7-labs
2+ FROM ruby:3.4-alpine3.23
3+
4+ # Required for installing the json/async gems
5+ RUN apk add --no-cache \
6+ build-base~=0.5 \
7+ libssl3~=3.5 \
8+ readline-dev~=8.3 \
9+ zlib-dev~=1.3
10+
11+ # Re-build if Gemfile or Gemfile.lock changes
12+ ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="Gemfile,Gemfile.lock"
13+
14+ WORKDIR /app
15+
16+ # .git & README.md are unique per-repository. We ignore them on first copy to prevent cache misses
17+ COPY --exclude=.git --exclude=README.md . /app
18+
19+ RUN bundle install --verbose
Original file line number Diff line number Diff line change 11attributes :
2- required_executable : ruby (2.7 )
2+ required_executable : ruby (3.4 )
33 user_editable_file : app/server.rb
You can’t perform that action at this time.
0 commit comments