
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.
8 lines
282 B
Bash
Executable File
8 lines
282 B
Bash
Executable File
FILE=Gemfile.lock
|
|
if [ -f "$FILE" ]; then
|
|
rm $FILE
|
|
fi
|
|
docker run --rm -v "$PWD:/srv/jekyll/" -p "8080:8080" \
|
|
-it al-folio:latest bundler \
|
|
exec jekyll serve --watch --port=8080 --host=0.0.0.0 \
|
|
--verbose --livereload |