diff --git a/package.json b/package.json index 77c9d87..50eef71 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "start": "node ./bin/www", "watch": "nodemon ./bin/www", - "docker": "docker build -t statusteam/universal-links-handler:deploy .", + "docker": "yarn run tests && docker build -t statusteam/universal-links-handler:deploy .", "tests": "node -r esm tests/main.js" }, "dependencies": {