mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-23 09:03:44 +03:00
fix: docker build (#2607)
This commit is contained in:
parent
4736c54edd
commit
1593d01936
|
@ -13,6 +13,7 @@ RUN apk update && apk add --no-cache git
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
COPY package.json package-lock.json /build/
|
COPY package.json package-lock.json /build/
|
||||||
RUN npm ci --no-optional --ignore-scripts
|
RUN npm ci --no-optional --ignore-scripts
|
||||||
|
RUN npm explore esbuild -- npm run postinstall
|
||||||
|
|
||||||
# copy only required for the build files
|
# copy only required for the build files
|
||||||
COPY src /build/src
|
COPY src /build/src
|
||||||
|
|
Loading…
Reference in New Issue
Block a user