Skip to content

Commit

Permalink
Fix casing in FROM statements in React library Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
ty2k committed Jul 5, 2024
1 parent 1f81f09 commit 62e357f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/react-components/Dockerfile.storybook
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# -----------
# Build stage
# -----------
FROM node:lts-alpine as build-stage
FROM node:lts-alpine AS build-stage
ARG GITHUB_SHA
ENV GITHUB_SHA=$GITHUB_SHA

Expand All @@ -30,7 +30,7 @@ RUN STORYBOOK_GITHUB_SHA=$GITHUB_SHA npm run storybook-build
# -----------
# Serve stage
# -----------
FROM nginxinc/nginx-unprivileged:alpine as serve-stage
FROM nginxinc/nginx-unprivileged:alpine AS serve-stage

# Copy nginx configuration
COPY ./nginx.storybook.conf /etc/nginx/nginx.conf
Expand Down
4 changes: 2 additions & 2 deletions packages/react-components/Dockerfile.vite
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# -----------
# Build stage
# -----------
FROM node:lts-alpine as build-stage
FROM node:lts-alpine AS build-stage

# Copy package.json and package-lock.json
WORKDIR /app
Expand All @@ -28,7 +28,7 @@ RUN npm run vite-build
# -----------
# Serve stage
# -----------
FROM nginxinc/nginx-unprivileged:alpine as serve-stage
FROM nginxinc/nginx-unprivileged:alpine AS serve-stage

# Copy nginx configuration
COPY ./nginx.vite.conf /etc/nginx/nginx.conf
Expand Down

0 comments on commit 62e357f

Please sign in to comment.