mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-01-11 22:40:31 +00:00
fix(docker): update dockerfile with pnpm
This commit is contained in:
parent
2dcc582cc2
commit
b05f28cc54
1 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue