Skip to content

Commit

Permalink
case warning
Browse files Browse the repository at this point in the history
  • Loading branch information
loftwah committed Dec 9, 2024
1 parent c6d5c97 commit bc518e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile
ARG RUBY_VERSION=3.3.4
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
Expand All @@ -14,7 +14,7 @@ ENV RAILS_ENV="production" \
BUNDLE_WITHOUT="development test"

# 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 && \
Expand Down

0 comments on commit bc518e3

Please sign in to comment.