diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..89ec57e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,24 @@ +## To build the image, run: +## docker build -t fluxnodes.net . + +## To run the image, run: +## docker run -d -p 2000:2000 fluxnodes.net + +# Base (Debian) +FROM debian + +# Set Work Directory +WORKDIR /fluxnodes +COPY . /fluxnodes + +# Expose Ports +EXPOSE 2000 + +# Install Bun +curl -fsSL https://bun.sh/install | bash + +# Install Packages +bun install + +# Run +CMD bun start \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..8beb1c9 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,7 @@ +version: "3" +services: + falixnodes.net: + image: falixnodes.net + restart: unless-stopped + ports: + - "4321:4321" \ No newline at end of file