Skip to content

Commit 32cd476

Browse files
committed
Fix backend container build
1 parent 023160f commit 32cd476

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

backstage/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ COPY plugins/viewdocs-react/package.json plugins/viewdocs-react/package.json
1616

1717
ENV CYPRESS_INSTALL_BINARY=0
1818
RUN --mount=type=cache,target=/root/.cache/yarn,sharing=locked \
19-
yarn install --frozen-lockfile
19+
yarn global add node-gyp \
20+
&& yarn install --frozen-lockfile
2021

2122
COPY ./ ./
2223

@@ -56,7 +57,7 @@ COPY --from=build /app/package.json /app/yarn.lock /app/packages/backend/dist/sk
5657

5758
RUN --mount=type=cache,target=/root/.cache/yarn,sharing=locked \
5859
yarn global add node-gyp \
59-
yarn install --frozen-lockfile --production
60+
&& yarn install --frozen-lockfile --production
6061

6162
COPY --from=build /app/packages/backend/dist/bundle ./
6263

0 commit comments

Comments
 (0)