changed to be dependant on k8s branch builds, keeps the blog the same between the 2 branches
This commit is contained in:
parent
631c7c9fae
commit
a29df509b6
12
Dockerfile
12
Dockerfile
@ -1,12 +0,0 @@
|
|||||||
FROM rust:latest
|
|
||||||
|
|
||||||
RUN cargo install mdbook
|
|
||||||
RUN apt-get update && apt-get install -y vim git
|
|
||||||
|
|
||||||
RUN mkdir -p /mdbook
|
|
||||||
WORKDIR /mdbook
|
|
||||||
|
|
||||||
EXPOSE 3000
|
|
||||||
|
|
||||||
CMD mdbook serve -n 0.0.0.0
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
mdbook:
|
mdbook:
|
||||||
build: .
|
image: docker.scalz.cloud/blog
|
||||||
container_name: mdbook
|
container_name: mdbook
|
||||||
volumes:
|
volumes:
|
||||||
- "./blog:/mdbook"
|
- "./blog:/mdbook"
|
||||||
|
Loading…
Reference in New Issue
Block a user