Skip to content

Commit

Permalink
added Dockerfile to build container version
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Jun 21, 2024
1 parent e6f26dd commit 1e27254
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM node:22-alpine

# Set the working directory in the container
WORKDIR /usr/src/app

# Copy package.json and package-lock.json
COPY package*.json ./

# Install dependencies
RUN npm install

# Copy the rest of the application code
COPY . .

# Set the entry point for the container to run your CLI app
ENTRYPOINT ["node", "wmiocli.js"]

0 comments on commit 1e27254

Please sign in to comment.