Add mkdocs build process
This commit is contained in:
parent
883fdc6ad5
commit
e5f8bba7d9
13
Dockerfile
Normal file
13
Dockerfile
Normal file
|
@ -0,0 +1,13 @@
|
|||
FROM docker.io/library/nginx:alpine
|
||||
|
||||
RUN apk add mkdocs
|
||||
|
||||
RUN mkdir -p /opt/quadlet-examples.techtransthai.org
|
||||
|
||||
COPY . /opt/quadlet-examples.techtransthai.org
|
||||
|
||||
WORKDIR /opt/quadlet-examples.techtransthai.org
|
||||
|
||||
RUN mkdocs build
|
||||
|
||||
RUN cp -r site/* /usr/share/nginx/html
|
8
install.sh
Executable file
8
install.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
systemctl --user stop quadlet-examples
|
||||
cp quadlet-examples.container ~/.config/containers/systemd
|
||||
systemctl --user daemon-reload
|
||||
|
||||
podman build -t quadlet-examples .
|
||||
|
||||
|
||||
systemctl --user start quadlet-examples
|
Reference in a new issue