mirror of
https://github.com/nadimkobeissi/mkbsd.git
synced 2025-01-03 10:39:32 +00:00
18 lines
409 B
Docker
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"]
|