We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88bacc1 commit 81a7594Copy full SHA for 81a7594
Dockerfile
@@ -4,17 +4,14 @@ FROM node:20-alpine
4
# Set working directory
5
WORKDIR /app
6
7
-# Install Mintlify
+# Install Mintlify CLI globally
8
RUN npm install -g mintlify
9
10
-# Copy docs
+# Copy all documentation files
11
COPY . .
12
13
-# Build the Mintlify site
14
-RUN mintlify build
15
-
16
-# Expose port
+# Expose port 3000 (default Mintlify port)
17
EXPOSE 3000
18
19
-# Start production server
20
-CMD ["mintlify", "start", "--host", "0.0.0.0"]
+# Start the Mintlify server
+CMD ["mintlify", "dev", "--host", "0.0.0.0"]
0 commit comments