fix(docker): update dockerfile with pnpm

This commit is contained in:
Timothy Z. 2025-10-12 00:44:39 +03:00
parent 2dcc582cc2
commit b05f28cc54

View file

@ -13,11 +13,13 @@ WORKDIR /var/www/stremio-web
FROM base AS prebuild
RUN apk update && apk upgrade && \
apk add --no-cache git
apk add --no-cache git \
&& npm install -g pnpm
WORKDIR /var/www/stremio-web
COPY . .
RUN npm install
RUN npm run build
ENV CI=true
RUN pnpm install
RUN pnpm run build
# Bundle app source
FROM base AS final