Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit a3c2c62

Browse files
authored
DOP-3613: Skip build step for redoc-cli (#790)
1 parent b1f90a9 commit a3c2c62

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ FROM ubuntu:20.04
2424
ARG SNOOTY_PARSER_VERSION=0.13.18
2525
ARG SNOOTY_FRONTEND_VERSION=0.13.44
2626
ARG MUT_VERSION=0.10.3
27-
ARG REDOC_CLI_VERSION=1.1.1
27+
ARG REDOC_CLI_VERSION=1.1.2
2828
ARG NPM_BASE_64_AUTH
2929
ARG NPM_EMAIL
3030
ENV DEBIAN_FRONTEND=noninteractive
@@ -87,10 +87,7 @@ RUN git clone -b v${SNOOTY_FRONTEND_VERSION} --depth 1 https://github.com/mongod
8787
RUN git clone -b @dop/redoc-cli@${REDOC_CLI_VERSION} --depth 1 https://github.com/mongodb-forks/redoc.git redoc \
8888
# Install dependencies for Redoc CLI
8989
&& cd redoc/ \
90-
&& npm ci --prefix cli/ --omit=dev \
91-
# Install dependencies for Redoc component and building/compiling
92-
&& npm ci --omit=dev --ignore-scripts \
93-
&& npm run compile:cli
90+
&& npm ci --prefix cli/ --omit=dev
9491

9592
COPY --from=ts-compiler /home/docsworker-xlarge/package*.json ./
9693
COPY --from=ts-compiler /home/docsworker-xlarge/config config/

0 commit comments

Comments
 (0)