Skip to content

Commit

Permalink
dev.Dockerfile fix 'FromAsCasing' Warning
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiramtilakiiit authored Nov 12, 2024
1 parent 123b08b commit 2b7dfd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ COPY package*.json .
RUN npm install --prefer-offline --no-audit --progress=true --loglevel verbose

# build and start
FROM node:20-slim as build
FROM node:20-slim AS build
ARG ENV=development
ENV NEXT_PUBLIC_ENV=$ENV

Expand All @@ -17,4 +17,4 @@ COPY entrypoint.sh /cache/
RUN chmod +x /cache/entrypoint.sh

ENTRYPOINT [ "/cache/entrypoint.sh" ]
CMD [ "npm", "run", "dev" ]
CMD [ "npm", "run", "dev" ]

0 comments on commit 2b7dfd5

Please sign in to comment.