Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Create Storybook's settings directory in the Playwright image (#5629)
Konstantin Obenland525832effee7
diff --git a/frontend/.storybook/main.ts b/frontend/.storybook/main.tsindex a64af54f5..784b01e7f 100644--- a/frontend/.storybook/main.ts+++ b/frontend/.storybook/main.ts@@ -14,5 +14,8 @@ const config: StorybookConfig = {docs: {autodocs: "tag",},+ core: {+ disableTelemetry: true,+ },}export default configdiff --git a/frontend/Dockerfile.playwright b/frontend/Dockerfile.playwrightindex 6596a88cb..b0c06bcc4 100644--- a/frontend/Dockerfile.playwright+++ b/frontend/Dockerfile.playwright@@ -14,6 +14,8 @@ COPY pnpm-lock.yaml .RUN mkdir -p /.cache/node/corepack/ && chmod -R 777 /.cache/node/corepack/# Ensure that the dlx cache folder exists and is writableRUN mkdir -p /.cache/pnpm/dlx/ && chmod -R 777 /.cache/pnpm/dlx/+# Ensure Storybook's global settings folder exists and is writable+RUN mkdir -p /.storybook/ && chmod -R 777 /.storybook/# Requires `packageManager` field to be present in `frontend/package.json`.RUN npm install -g [email protected] && corepack enable pnpm