From 6ac68caecf134d241ae22e25e6b8ecb6c4166ff7 Mon Sep 17 00:00:00 2001 From: Dan Skinner Date: Thu, 10 Mar 2022 14:59:40 +0000 Subject: [PATCH] chore(examples): add missing Dockerfile to angular example --- examples/ts/angular/Dockerfile | 9 +++++++++ examples/ts/angular/README.md | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 examples/ts/angular/Dockerfile diff --git a/examples/ts/angular/Dockerfile b/examples/ts/angular/Dockerfile new file mode 100644 index 0000000000..c3d4ea18be --- /dev/null +++ b/examples/ts/angular/Dockerfile @@ -0,0 +1,9 @@ +FROM node:8 + +WORKDIR /usr/src/app + +COPY package* /usr/src/app/ +RUN npm install + +COPY . /usr/src/app/ +CMD npm run serve -- --host 0.0.0.0 diff --git a/examples/ts/angular/README.md b/examples/ts/angular/README.md index 0890b4a5a1..f4d88a4130 100644 --- a/examples/ts/angular/README.md +++ b/examples/ts/angular/README.md @@ -27,7 +27,7 @@ docker build -t bugsnag-js-example-angular . && \ docker run -p 4200:4200 -it bugsnag-js-example-angular ``` -__Note__: remember to replace `YOUR_API_KEY` in `src/lib/bugsnag.js` with your own! +__Note__: remember to replace `YOUR_API_KEY` in `src/app/app.module.ts` with your own! ### Without docker Ensure you have a version of Node.js >=4 on your machine.