Skip to content

Commit 5ef352d

Browse files
Fix docker config
1 parent 05f4c8b commit 5ef352d

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
FROM python:3.14-rc-alpine
1+
FROM python:3.14-rc-slim
22

33
WORKDIR /usr/src/app
44

55
COPY requirements.txt ./
66
RUN pip install --no-cache-dir -r requirements.txt
77

8-
CMD ["mkdocs", "serve"]
9-
10-
EXPOSE 8000
8+
CMD ["mkdocs", "serve", "--dev-addr=0.0.0.0:8000"]

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
mkdocs:
33
build: .
4-
command: mkdocs serve
4+
command: mkdocs serve --dev-addr=0.0.0.0:8000
55
ports:
66
- 8000:8000
77
volumes:

0 commit comments

Comments
 (0)