Skip to content

Commit c2af055

Browse files
authored
Merge pull request #27 from SoftwareAG/development
added Dockerfile to build container version
2 parents 66553b0 + 1e27254 commit c2af055

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM node:22-alpine
2+
3+
# Set the working directory in the container
4+
WORKDIR /usr/src/app
5+
6+
# Copy package.json and package-lock.json
7+
COPY package*.json ./
8+
9+
# Install dependencies
10+
RUN npm install
11+
12+
# Copy the rest of the application code
13+
COPY . .
14+
15+
# Set the entry point for the container to run your CLI app
16+
ENTRYPOINT ["node", "wmiocli.js"]
17+

0 commit comments

Comments
 (0)