Skip to content

Commit fef2871

Browse files
Try fix docker
1 parent 97bf8e5 commit fef2871

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
FROM python:3
1+
FROM python:3-bookworm
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+
810
EXPOSE 8000

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ services:
33
build: .
44
command: mkdocs serve
55
ports:
6-
- "8000:8000"
6+
- 8000:8000
77
volumes:
88
- .:/usr/src/app

0 commit comments

Comments
 (0)