Update Dockerfile
This commit is contained in:
parent
3f3080311c
commit
3d1709886d
1 changed files with 6 additions and 1 deletions
|
|
@ -12,7 +12,12 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|||
|
||||
# Copy the entire MkDocs project into the container
|
||||
COPY . .
|
||||
|
||||
# Build the MkDocs project
|
||||
RUN mkdocs build
|
||||
|
||||
# Expose the port that MkDocs will run on
|
||||
EXPOSE 3000
|
||||
EXPOSE 3000
|
||||
|
||||
# Command to run the MkDocs server on port 3000
|
||||
CMD ["mkdocs", "serve", "--dev-addr=0.0.0.0:3000"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue