Archived
Template
1
Fork 0

Add Docker files

This commit is contained in:
get 2024-01-30 11:02:33 -05:00
parent defbea9acf
commit 0baa63eb45
No known key found for this signature in database
2 changed files with 31 additions and 0 deletions

24
Dockerfile Normal file
View file

@ -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

7
docker-compose.yml Normal file
View file

@ -0,0 +1,7 @@
version: "3"
services:
falixnodes.net:
image: falixnodes.net
restart: unless-stopped
ports:
- "4321:4321"