File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 1- # Use Node.js 20 as base image
2- FROM node:20-alpine
1+ FROM node:current-slim
32
4- # Set working directory
5- WORKDIR /app
3+ # Install the Mintlify CLI globally
4+ RUN npm install -g mint
65
7- # Install Mintlify CLI globally
8- RUN npm install -g mintlify
6+ # Set the working directory inside the container
7+ WORKDIR /app
98
10- # Copy all documentation files
11- COPY . .
9+ # Copy your documentation files into the container
10+ # Make sure to run this from the root of your docs project
11+ ADD . .
1212
13- # Expose port 3000 (default Mintlify port )
13+ # Expose the port Mintlify uses for the dev server (if needed )
1414EXPOSE 3000
1515
16- # Start the Mintlify server
17- CMD ["mintlify " , "dev" , "--host" , "0.0.0.0 " ]
16+ # Default command to run the dev server (can be overridden)
17+ CMD ["mint " , "dev" ]
You can’t perform that action at this time.
0 commit comments