commit 875bbcbdc89d75f113368b56dda084ca9fef0b78 Author: Jared Furlow Date: Sat May 3 13:32:30 2025 -0500 Test diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c61fa10 --- /dev/null +++ b/Dockerfile @@ -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" ] \ No newline at end of file diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..0761093 --- /dev/null +++ b/compose.yaml @@ -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"] \ No newline at end of file