Skip to content

Commit 0bb5f16

Browse files
committed
UPD: fix dependencies issues
1 parent 937311f commit 0bb5f16

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,14 @@ COPY --from=packages --chown=node:node /app/backstage.json ./
4848
RUN mkdir -p /home/node/.cache/node/corepack/v1 && \
4949
chown -R node:node /home/node/.cache
5050

51+
# Skip optional dependencies like canvas that aren't needed for Backstage
52+
ENV YARN_ENABLE_OPTIONAL_DEPENDENCIES=0
53+
5154
#ENV CYPRESS_INSTALL_BINARY=0
5255
#RUN yarn install --immutable --network-timeout 600000
5356
RUN --mount=type=cache,target=/home/node/.cache/yarn,sharing=locked,uid=1000,gid=1000 \
54-
yarn install --immutable
57+
yarn install --immutable --mode=skip-build
58+
5559

5660
COPY --chown=node:node . .
5761

docs/mkdocs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
site_name: Documentation Site
2+
docs_dir: docs
3+
plugins:
4+
- techdocs-core

0 commit comments

Comments
 (0)