From 875bbcbdc89d75f113368b56dda084ca9fef0b78 Mon Sep 17 00:00:00 2001 From: Jared Furlow Date: Sat, 3 May 2025 13:32:30 -0500 Subject: [PATCH] Test --- Dockerfile | 12 ++++++++++++ compose.yaml | 10 ++++++++++ 2 files changed, 22 insertions(+) create mode 100644 Dockerfile create mode 100644 compose.yaml 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