Skip to content

Commit

Permalink
Merge pull request #1680 from scarf005/build/fix-permission
Browse files Browse the repository at this point in the history
build: fix docker compose  permission
  • Loading branch information
SethTisue authored Aug 26, 2024
2 parents f1314bb + c2e6921 commit a0927a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ COPY Gemfile .
COPY Gemfile.lock .

RUN echo -n "bundle version: " && bundle --version
RUN chmod u+s /bin/chown
RUN bundle install
5 changes: 2 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
services:
jekyll:
user: "${UID}:${GID}"
build: .
command: sh -c "chown $UID / && bundle exec jekyll serve --incremental --host=0.0.0.0 "
command: "bundle exec jekyll serve --incremental --host=0.0.0.0"
ports:
- '4000:4000'
- "4000:4000"
volumes:
- .:/srv/jekyll

0 comments on commit a0927a0

Please sign in to comment.