Skip to content

Commit

Permalink
Merge pull request #22 from alps-asd/docker
Browse files Browse the repository at this point in the history
Fix docker setup
  • Loading branch information
koriym committed Feb 9, 2024
2 parents b706c25 + 0fb84ef commit 6e735ca
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 2 additions & 0 deletions bin/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
FROM jekyll/jekyll:pages
RUN gem install webrick
13 changes: 13 additions & 0 deletions bin/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: "3"
services:
app:
container_name: jekyllberasunday
build:
context: .
dockerfile: Dockerfile
command: jekyll serve
volumes:
- ../:/srv/jekyll
ports:
- 4000:4000

2 changes: 1 addition & 1 deletion bin/serve.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

docker run --rm --volume="$PWD:/srv/jekyll" -it -p 4000:4000 jekyll/jekyll:pages jekyll serve
docker compose up

0 comments on commit 6e735ca

Please sign in to comment.