diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..31e449e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +from node:boron + +WORKDIR /usr/src/app + +COPY package.json . + +RUN npm install + +COPY . . + +ENV PORT 8000 + +EXPOSE 8000 + +CMD [ "node", "stream-server.js" ] diff --git a/README.md b/README.md index 9f6d92a..f05a20d 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,13 @@ npm install PORT=8000 node stream-server.js ``` +Or build and run with docker: + +```sh +docker build -t encom-boardroom . +docker run -p 8000:8000 encom-boardroom +``` + Then point your browser at `http://localhost:8000`. The code isn't particularly well organized right now to quickly add in new