Skip to content

Commit

Permalink
fix: add back AS commands to images to name them in multistage build
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaffen committed Feb 14, 2025
1 parent 48c6c5f commit a1ecc14
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
@@ -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 \
Expand All @@ -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
Expand Down

0 comments on commit a1ecc14

Please sign in to comment.