Test
This commit is contained in:
commit
875bbcbdc8
12
Dockerfile
Normal file
12
Dockerfile
Normal 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
10
compose.yaml
Normal 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"]
|
||||||
Loading…
x
Reference in New Issue
Block a user