Skip to content

Commit 24c75c0

Browse files
committed
Dockerfile: fix casing warning
This fixes the warning: FromAsCasing: 'as' and 'FROM' keywords' casing do not match emitted from recent versions of Docker.
1 parent e5d7982 commit 24c75c0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# develop container
2-
FROM node:16 as develop
2+
FROM node:16 AS develop
33

44
# build container
5-
FROM node:16 as build
5+
FROM node:16 AS build
66
USER node
77

88
COPY --chown=node:node . /app
@@ -13,7 +13,7 @@ RUN yarn install --network-timeout 1000000
1313
RUN yarn gulp release
1414

1515
# deploy container
16-
FROM node:16-slim as deploy
16+
FROM node:16-slim AS deploy
1717

1818
USER node
1919

0 commit comments

Comments
 (0)