24 lines
359 B
Text
24 lines
359 B
Text
|
## 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
|