File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1313 - name : checkout repository
1414 uses : actions/checkout@v4
1515
16- - name : install nix
17- uses : cachix/install-nix-action@v27
18- with :
19- github_access_token : ${{ secrets.GITHUB_TOKEN }}
20-
2116 - name : build docker image
22- run : nix build -L .#dockerImage
17+ run : docker build .
2318
2419 - name : log in to github container registry
2520 uses : docker/login-action@v3
Original file line number Diff line number Diff line change 1+ FROM oven/bun:latest
2+ ADD ./ ./
3+ RUN mkdir -p /data
4+ WORKDIR /data
5+ CMD ["bun" , "run" , "/home/bun/app/src/index.js" ]
Original file line number Diff line number Diff line change @@ -64,13 +64,13 @@ $ docker pull ghcr.io/oppiliappan/lurker:latest
6464# quirk of using nix, it should not affect usage
6565$ docker image ls
6666REPOSITORY TAG IMAGE ID CREATED SIZE
67- ghcr.io/oppiliappan/lurker latest ba3733164889 54 years ago 186MB
67+ ghcr.io/oppiliappan/lurker latest ba3733164889 ??? 227MB
6868
6969# start lurker in a container
7070#
7171# lurker stores data in /data,
7272# 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
7474```
7575
7676or with just [ bun] ( https://bun.sh/ ) :
You can’t perform that action at this time.
0 commit comments