Skip to content

Commit 6e07eee

Browse files
committed
Fix AS casing to be consistent (docker warning)
1 parent 39cf851 commit 6e07eee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ARG NODE_VERSION=20
22
ARG NODE_IMAGE=public.ecr.aws/docker/library/node:${NODE_VERSION}-slim
33
ARG EDGEDB_IMAGE=ghcr.io/edgedb/edgedb:5
44

5-
FROM ${NODE_IMAGE} as base-runtime
5+
FROM ${NODE_IMAGE} AS base-runtime
66

77
# Install these native packages
88
RUN apt-get update \
@@ -22,7 +22,7 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.edgedb.com | sh -s -- -y --n
2222
# Enable yarn via corepack
2323
RUN corepack enable
2424

25-
FROM ${EDGEDB_IMAGE} as builder
25+
FROM ${EDGEDB_IMAGE} AS builder
2626

2727
# region Install NodeJS
2828
ARG NODE_VERSION
@@ -100,7 +100,7 @@ RUN yarn workspaces focus --all --production
100100
# Remove yarn cache to reduce image size
101101
RUN yarn cache clean --all
102102

103-
FROM base-runtime as runtime
103+
FROM base-runtime AS runtime
104104

105105
WORKDIR /opt/cord-api
106106

0 commit comments

Comments
 (0)