selfhostable, read-only reddit client

Use plain Bun for Docker

Changed files
+6 -8
.github
workflows
+1 -6
.github/workflows/publish-docker.yml
··· 13 13 - name: checkout repository 14 14 uses: actions/checkout@v4 15 15 16 - - name: install nix 17 - uses: cachix/install-nix-action@v27 18 - with: 19 - github_access_token: ${{ secrets.GITHUB_TOKEN }} 20 - 21 16 - name: build docker image 22 - run: nix build -L .#dockerImage 17 + run: docker build . 23 18 24 19 - name: log in to github container registry 25 20 uses: docker/login-action@v3
+3
Dockerfile
··· 1 + FROM oven/bun:latest 2 + ADD ./ ./ 3 + CMD ["bun", "run", "src/index.js"]
+2 -2
readme.md
··· 64 64 # quirk of using nix, it should not affect usage 65 65 $ docker image ls 66 66 REPOSITORY TAG IMAGE ID CREATED SIZE 67 - ghcr.io/oppiliappan/lurker latest ba3733164889 54 years ago 186MB 67 + ghcr.io/oppiliappan/lurker latest ba3733164889 ??? 227MB 68 68 69 69 # start lurker in a container 70 70 # 71 71 # lurker stores data in /data, 72 72 # so create a volume on the host accordingly: 73 - $ docker run -v /your/host/lurker-data:/data ghcr.io/oppiliappan/lurker:latest 73 + $ docker run -v /your/host/lurker-data:/data -p 3000 ghcr.io/oppiliappan/lurker:latest 74 74 ``` 75 75 76 76 or with just [bun](https://bun.sh/):