From a1ecc14cdf64d1f4cff616bbdbf0ba091e9e5054 Mon Sep 17 00:00:00 2001 From: Robert Waffen Date: Fri, 14 Feb 2025 14:56:07 +0100 Subject: [PATCH] fix: add back AS commands to images to name them in multistage build --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 86a4915f..5f1db208 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/library/ruby:3.4.1-alpine3.21 +FROM docker.io/library/ruby:3.4.1-alpine3.21 AS builder RUN apk update \ && apk upgrade \ @@ -21,7 +21,7 @@ RUN bundle check || (bundle config set --local without 'development test release ############################################################################### -FROM ddocker.io/library/ruby:3.4.1-alpine3.21 +FROM ddocker.io/library/ruby:3.4.1-alpine3.21 AS final ENV APP_HOME=/hdm ENV RAILS_ENV=production