Node.JS simple server to upload and download files
Nothing No NPM Module dependency, as it is written using pure Node.JS API. Only nodejs should be installed.
Just download zip folder or clone the repo using git command on your system.
node server.js
node server.js 4200
e.g http://localhost:3000
docker build -t fileserver:1.1 .
Execute command in terminal:
docker run -d -v $PWD/file-server:/app/download -p 3000:3000 --restart=always fileserver:1.1
or
Execute shell script:
chmod +x docker-run.sh
./docker-run.sh
Ps: The files will be stored in $PWD/file-server
in your local disk.
e.g http://localhost:3000