From 61e64e298cd2b2aabe59536604fdcce4c55a6641 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Fri, 31 Oct 2025 10:34:19 +0100 Subject: [PATCH] Fix Dockerfile syntax for multi-stage builds --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6a7b97914..f85976d69 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-slim as base +FROM node:20-slim AS base LABEL maintainer="Orta Therox" LABEL "com.github.actions.name"="Danger JS Action" @@ -8,7 +8,7 @@ LABEL "com.github.actions.color"="blue" WORKDIR /usr/src/danger -FROM base as build +FROM base AS build COPY package.json yarn.lock ./ RUN yarn install COPY . .