diff --git a/Makefile b/Makefile index a8a2008..c77bfa6 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,9 @@ schema: cd server-python; poetry run python -m generate_schema; cd - build: docker build -t sensor-web-v2 . +build-fe: + docker build -t sensor-web-v2-fe --target frontend . run: build docker run --rm -d -p 8080:8080 sensor-web-v2 -test: build - docker run --rm sensor-web-v2 npm run test:ci +test: build-fe + docker run --rm sensor-web-v2-fe npm run test:ci