Skip to content
Snippets Groups Projects
Commit c45f2f8a authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :koala:
Browse files

tests: only mount source files for tests

parent bcca7f81
No related branches found
No related tags found
No related merge requests found
...@@ -2,3 +2,5 @@ FROM mcr.microsoft.com/playwright:v1.42.1-focal ...@@ -2,3 +2,5 @@ FROM mcr.microsoft.com/playwright:v1.42.1-focal
RUN apt update -y && \ RUN apt update -y && \
apt install -y make wait-for-it && \ apt install -y make wait-for-it && \
apt-get clean -y apt-get clean -y
USER pwuser
RUN mkdir /home/pwuser/app
...@@ -128,4 +128,24 @@ services: ...@@ -128,4 +128,24 @@ services:
wait-for-it -t 0 -h "$TANK_HOST" -p "$TANK_PORT" wait-for-it -t 0 -h "$TANK_HOST" -p "$TANK_PORT"
make test-local make test-local
volumes: volumes:
- ../:/home/pwuser/app - ../public/:/home/pwuser/app/public/
- ../src/:/home/pwuser/app/src/
- ../tests/:/home/pwuser/app/tests/
- ../vitest/:/home/pwuser/app/vitest/
- ../.eslintignore:/home/pwuser/app/.eslintignore
- ../.eslintrc.cjs:/home/pwuser/app/.eslintrc.cjs
- ../.prettierignore:/home/pwuser/app/.prettierignore
- ../.prettierrc.json:/home/pwuser/app/.prettierrc.json
- ../.cspell.json:/home/pwuser/app/.cspell.json
- ../index.html:/home/pwuser/app/index.html
- ../Makefile:/home/pwuser/app/Makefile
- ../oidc_callback.html:/home/pwuser/app/oidc_callback.html
- ../oidc_callback_silentRenew.html:/home/pwuser/app/oidc_callback_silentRenew.html
- ../package.json:/home/pwuser/app/package.json
- ../package-lock.json:/home/pwuser/app/package-lock.json
- ../playwright.config.ts:/home/pwuser/app/playwright.config.ts
- ../postcss.config.cjs:/home/pwuser/app/postcss.config.cjs
- ../tailwind.config.js:/home/pwuser/app/tailwind.config.js
- ../tsconfig.json:/home/pwuser/app/tsconfig.json
- ../vite.config.ts:/home/pwuser/app/vite.config.ts
- ../vitest.config.ts:/home/pwuser/app/vitest.config.ts
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment