Skip to content

Commit

Permalink
Merge pull request #1699 from bugsnag/plat-7811
Browse files Browse the repository at this point in the history
chore(examples): add missing Dockerfile to angular example
  • Loading branch information
djskinner committed Mar 14, 2022
2 parents 248e5e3 + 6ac68ca commit 07d5963
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions examples/ts/angular/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion examples/ts/angular/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 07d5963

Please sign in to comment.