Skip to content

Commit 3a7c728

Browse files
authored
Merge pull request #1493 from danger/SimenB-patch-1
Fix Dockerfile syntax for multi-stage builds
2 parents b5764b4 + 61e64e2 commit 3a7c728

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20-slim as base
1+
FROM node:20-slim AS base
22

33
LABEL maintainer="Orta Therox"
44
LABEL "com.github.actions.name"="Danger JS Action"
@@ -8,7 +8,7 @@ LABEL "com.github.actions.color"="blue"
88

99
WORKDIR /usr/src/danger
1010

11-
FROM base as build
11+
FROM base AS build
1212
COPY package.json yarn.lock ./
1313
RUN yarn install
1414
COPY . .

0 commit comments

Comments
 (0)