diff --git a/.dockerignore b/.dockerignore index ce7df72..481f283 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,7 +1,7 @@ * -!src/* +!backend/src/* !public/* -!views/* +!backend/views/* !bio-proxy-configuration-for-docker/* !package.json diff --git a/package.json b/package.json index 9a4830b..620fa2d 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "debug-server": "tsc-watch --project ./backend --onSuccess \"node --enable-source-maps --use-openssl-ca --unhandled-rejections=strict ./backend/out/index\"", "debug": "concurrently npm:debug-*", "test": "nyc mocha -r ts-node/register ./public/js-source/test/**/*.ts ./backend/test/**/*.ts", - "build": "tsc", + "build": "tsc -b ./backend ./public/js-source", "production": "node --use-openssl-ca --unhandled-rejections=strict ./backend/out/index", "install-debug": "npm install && npm run build", "install-prod": "npm install --only=dev && npm install --only=prod && npm run build && npm test && npm run del-node-module && npm install --only=prod",