
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.
12 lines
327 B
YAML
12 lines
327 B
YAML
version: "3"
|
|
# this file uses prebuilt image in dockerhub
|
|
services:
|
|
jekyll:
|
|
image: amirpourmand/al-folio
|
|
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 |