Skip to content

Commit

Permalink
fix: update dockerfile to use specific pnpm version TCKT-000 (#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
kalasgarov authored Feb 24, 2025
1 parent c60af7a commit 59a30b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion e2e/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ WORKDIR /srv/apps/atj-platform
COPY ./pnpm-lock.yaml ./pnpm-lock.yaml
COPY ./package.json ./package.json
RUN corepack enable
RUN corepack prepare [email protected] --activate

FROM base as test
ENV E2E_ENDPOINT=http://localhost:9090
Expand All @@ -18,7 +19,7 @@ EXPOSE 9090
EXPOSE 9191
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
RUN pnpm build --filter=@gsa-tts/forms-spotlight --filter=@gsa-tts/forms-design
WORKDIR ./e2e
WORKDIR /srv/apps/atj-platform/e2e
RUN serve ../apps/spotlight/dist -p 9090 -L & while ! nc -z localhost 9090; do sleep 1; done; pnpm playwright test;
RUN serve ../packages/design/storybook-static -p 9191 -L & while ! nc -z localhost 9191; do sleep 1; done; pnpm --filter=end-to-end-tests test:storybook --url http://localhost:9191 --config-dir ../packages/design/.storybook/ --browsers firefox chromium

Expand Down

0 comments on commit 59a30b8

Please sign in to comment.