diff --git a/Dockerfile b/Dockerfile index 38333d5..3030aeb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile ARG RUBY_VERSION=3.3.5 -FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim as base +FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim AS base # Rails app lives here WORKDIR /rails @@ -15,7 +15,7 @@ ENV RAILS_ENV="production" \ # Throw-away build stage to reduce size of final image -FROM base as build +FROM base AS build # Install packages needed to build gems and node modules RUN apt-get update -qq && \ diff --git a/Gemfile.lock b/Gemfile.lock index 8ae3b0a..133a6ce 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -279,4 +279,4 @@ RUBY VERSION ruby 3.3.5p100 BUNDLED WITH - 2.4.21 + 2.6.9