Skip to content

Commit

Permalink
ci: fix casing warning for Dockerfile (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomudding authored Feb 21, 2025
1 parent 87ee33f commit 7a5bf74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apps/dashboard/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build in a different image to keep the target image clean
FROM node:20 as build
FROM node:20 AS build
RUN corepack enable && yarn set version berry
WORKDIR /app
COPY lib/common/ lib/common/
Expand All @@ -14,7 +14,7 @@ ENV VITE_GIT_COMMIT_SHA=${GIT_COMMIT_SHA}
RUN yarn run build-dashboard

# The target image that will be run
FROM nginx:alpine as target
FROM nginx:alpine AS target
WORKDIR /app
COPY apps/dashboard/docker/nginx.conf /etc/nginx/nginx.conf
COPY --from=build --chown=nginx /app/apps/dashboard/dist/ /app
4 changes: 2 additions & 2 deletions apps/point-of-sale/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build in a different image to keep the target image clean
FROM node:20 as build
FROM node:20 AS build
RUN corepack enable && yarn set version berry
WORKDIR /app
COPY lib/common/ lib/common/
Expand All @@ -14,7 +14,7 @@ ENV VITE_GIT_COMMIT_SHA=${GIT_COMMIT_SHA}
RUN yarn run build-pos

# The target image that will be run
FROM nginx:alpine as target
FROM nginx:alpine AS target
WORKDIR /app
COPY apps/point-of-sale/docker/nginx.conf /etc/nginx/nginx.conf
COPY --from=build --chown=nginx /app/apps/point-of-sale/dist/ /app

0 comments on commit 7a5bf74

Please sign in to comment.