24 lines
No EOL
359 B
Docker
24 lines
No EOL
359 B
Docker
## 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 |