Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Dockerfile
tests/

11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM node:16-alpine

ENV DEBUG=dss*

WORKDIR /home/node/app

COPY . .

RUN npm install

CMD ["/usr/local/bin/npm", "start"]
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ First install dependencies with [npm](http://npmjs.com/) - from the project dire

__Without the `DEBUG` environment variable set as-documented above, there will be no output from the process indicating a successful start.__

#### Docker

You can also deploy node-dss using Docker with the following command:

```bash
docker run -p 3000:3000 animcogn/node-dss:latest
```

### Check for a message

Use `GET` to `/data/:id` where `:id` identifies your client
Expand Down