mkbsd/Dockerfile
Rohit Ghumare 5151d67dff Add Dockerfile and update README.md for Docker support
* **Dockerfile**
  - Add a `Dockerfile` to set up a Node.js environment
  - Add instructions to copy `mkbsd.js` and install dependencies
  - Add a command to run `mkbsd.js`

* **README.md**
  - Add a section for running the downloads via Docker
  - Include instructions to build and run the Docker container
2024-10-28 19:27:51 +00:00

18 lines
409 B
Docker

# Use the official Node.js image as the base image
FROM node:14
# Set the working directory inside the container
WORKDIR /app
# Copy the package.json and package-lock.json files to the working directory
COPY package*.json ./
# Install the dependencies
RUN npm install
# Copy the rest of the application code to the working directory
COPY . .
# Command to run the mkbsd.js script
CMD ["node", "mkbsd.js"]