Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
site/
venv/
.venv
.cache
.git/
.github/
Dockerfile
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM python:3.12.5-alpine3.20
COPY ./ /src/
WORKDIR /src/
RUN pip install --upgrade pip
RUN pip install mkdocs
RUN pip install mkdocs-material
RUN apk update
RUN apk add git
RUN pip install -r requirements.txt
RUN pip install mkdocs-glightbox
RUN pip install $(mkdocs get-deps)
EXPOSE 8080
CMD ["mkdocs", "serve", "-a", "0.0.0.0:8080"]
11 changes: 11 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: V1-docs
services:
web:
container_name: v1engineeringinc-docs
build:
context: ./
dockerfile: Dockerfile
volumes:
- ./:/src/:rw
ports:
- "8080:8080"