mirror of
https://github.com/FoxxMD/multi-scrobbler.git
synced 2026-05-05 23:50:21 +00:00
docs(fix): Add missing docsite build steps to alpine docker variant
This commit is contained in:
parent
8d124a20ac
commit
b2e7f58e14
1 changed files with 2 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ COPY --chown=abc:abc . /app
|
|||
# need to set before build so server/client build is optimized and has constants (if needed)
|
||||
ENV NODE_ENV=production
|
||||
|
||||
RUN npm run build && rm -rf node_modules
|
||||
RUN npm run docs:install && npm run build && rm -rf node_modules && rm -rf docsite/node_modules
|
||||
|
||||
FROM base as app
|
||||
|
||||
|
|
@ -49,6 +49,7 @@ COPY --chown=abc:abc package*.json ./
|
|||
COPY --chown=abc:abc patches ./patches
|
||||
COPY --from=build --chown=abc:abc /app/dist /app/dist
|
||||
COPY --from=build --chown=abc:abc /app/src /app/src
|
||||
COPY --from=build --chown=abc:abc /app/docsite /app/docsite
|
||||
COPY --from=base /usr/local/bin /usr/local/bin
|
||||
COPY --from=base /usr/local/lib /usr/local/lib
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue