Skip to content

Commit 59fa47c

Browse files
Add Dockerfile
1 parent 7c1e7b8 commit 59fa47c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Dockerfile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
2+
FROM node:lts-alpine
3+
4+
# Create app directory
5+
WORKDIR /app
6+
7+
# Copy package files
8+
COPY package*.json ./
9+
10+
# Install dependencies
11+
RUN npm install --ignore-scripts
12+
13+
# Copy the rest of the code
14+
COPY . .
15+
16+
# Build the project
17+
RUN npm run build
18+
19+
EXPOSE 3000
20+
21+
CMD [ "node", "dist/index.js" ]

0 commit comments

Comments
 (0)