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
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM node:16-alpine AS build-stage

WORKDIR /app

COPY visualizations/package*.json ./
COPY visualizations/ .

RUN npm ci
RUN npm run build

FROM caddy:alpine AS production-stage

COPY --from=build-stage /app/dist /srv

EXPOSE 8080

CMD ["caddy", "file-server", "--listen", ":8080", "--root", "/srv"]
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,23 @@ A full-featured, hosted version with example qlog files can be found at https://
Instructions and docker files for setting up your own copy can be found at https://github.com/quiclog/qvis-server.


## Running locally with Docker

Build the Docker image:

```bash
docker build -t qvis .
```

Run the container:

```bash
docker run -p 8080:8080 qvis
```

Then open http://localhost:8080 in your browser.


## older versions

This is the new version of the qvis visualization suite.
Expand Down