This commit is contained in:
Jared Furlow 2025-05-03 13:32:30 -05:00
commit 875bbcbdc8
2 changed files with 22 additions and 0 deletions

12
Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM node:23.6-bullseye-slim
RUN apt-get update && apt-get install curl -y
WORKDIR /opt/prod/app
RUN curl -s -L https://github.com/ekzhang/bore/releases/download/v0.5.3/bore-v0.5.3-x86_64-unknown-linux-musl.tar.gz | tar xvz - -C /tmp
EXPOSE 22766
EXPOSE 7835
EXPOSE 6888
CMD [ "./bore", "server" ]

10
compose.yaml Normal file
View File

@ -0,0 +1,10 @@
services:
bore-tunnel:
restart: unless-stopped
build:
context: .
dockerfile: ./Dockerfile
environment:
- 'BORE_SECRET=${BORE_SECRET}'
healthcheck:
test: ["CMD", "/bin/sh", "-c", "exit 0"]