aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Corentin Thomasset <corentin.thomasset74@gmail.com> 2023-03-31 01:10:00 +0200
committerGravatar Corentin Thomasset <corentin.thomasset74@gmail.com> 2023-03-31 01:10:00 +0200
commitdee5586bf5b620d4904da5d8123f8782d0796fd9 (patch)
treecfe271d29429b74ab141ca52c684ed11af328b49
parent5281824b5d7168535a26249cfede7c1705b3c618 (diff)
downloadit-tools-dee5586bf5b620d4904da5d8123f8782d0796fd9.tar.gz
it-tools-dee5586bf5b620d4904da5d8123f8782d0796fd9.tar.zst
it-tools-dee5586bf5b620d4904da5d8123f8782d0796fd9.zip
fix(docker): consistent casing in Dockerfile
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index b0e3382..f67fa94 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,5 @@
# build stage
-FROM node:lts-alpine as build-stage
+FROM node:lts-alpine AS build-stage
WORKDIR /app
COPY . .
RUN npm install -g pnpm
@@ -7,7 +7,7 @@ RUN pnpm i --frozen-lockfile
RUN pnpm build
# production stage
-FROM nginx:stable-alpine as production-stage
+FROM nginx:stable-alpine AS production-stage
COPY --from=build-stage /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80