chore: fix build script case

This commit is contained in:
Methapon Metanipat 2024-09-12 17:40:37 +07:00
parent c65aab8b06
commit 3e84e40547

View file

@ -1,4 +1,4 @@
FROM node:20-slim as build-stage
FROM node:20-slim AS build-stage
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
@ -19,7 +19,7 @@ ENV VITE_API_BASE_URL_OCR=ENV_API_BASE_URL_OCR
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
RUN pnpm run build
FROM alpine as production-stage
FROM alpine AS production-stage
WORKDIR /app