diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 60ee7aa..0000000 --- a/Dockerfile +++ /dev/null @@ -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 - diff --git a/docker-compose.yaml b/docker-compose.yaml index 5ee3aa4..80f2184 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,6 +1,6 @@ services: mdbook: - build: . + image: docker.scalz.cloud/blog container_name: mdbook volumes: - "./blog:/mdbook"