Skip to content

Commit a76c351

Browse files
authored
Merge pull request #235 from CodeWithMa/fix_case
fix: fix WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match
2 parents eb26ee0 + 3a1e29f commit a76c351

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/linuxserver/baseimage-debian:bookworm as base
1+
FROM ghcr.io/linuxserver/baseimage-debian:bookworm AS base
22

33
ENV TZ=Etc/GMT
44
ENV NODE_VERSION 20.11.1
@@ -57,7 +57,7 @@ COPY docker/root /
5757

5858
WORKDIR /app
5959

60-
FROM base as build
60+
FROM base AS build
6161

6262
COPY --chown=abc:abc package*.json tsconfig.json ./
6363
COPY --chown=abc:abc patches ./patches
@@ -86,7 +86,7 @@ ENV NODE_ENV=production
8686

8787
RUN npm run docs:install && npm run build && rm -rf node_modules && rm -rf docsite/node_modules
8888

89-
FROM base as app
89+
FROM base AS app
9090

9191
COPY --chown=abc:abc *.json *.js *.ts index.html ./
9292
COPY --chown=abc:abc patches ./patches

0 commit comments

Comments
 (0)