pages/docker-local.yml
Amir Pourmand 7172df0877
Add Docker-compose file for windows compatibility (#875)
This file makes it easier for windows users to use docker. (Closes #829)

Previous to this commit, those who used Windows had to install Ubuntu
inside windows (via WSL) and run our commands. Now they can run it by
just typing `docker-compose up`.

> The main problem was that `./bin/dockerhub_run.sh` command was written
with `Bash` in mind and you had to change it a little bit to make it
compatible with windows `Powershell`. We shouldn't have two scripts.
This is why adding a `docker-compose.yml` file is necessary.
2022-10-31 11:27:43 -04:00

12 lines
259 B
YAML

version: "3"
services:
jekyll_custom:
build: .
command: bash -c "
rm -f Gemfile.lock
&& bundler exec jekyll serve --watch --port=8080 --host=0.0.0.0 --livereload --verbose"
ports:
- 8080:8080
volumes:
- .:/srv/jekyll