Skip to content

Commit

Permalink
build: fix docker compose permission
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 committed Aug 22, 2024
1 parent acf7211 commit c2e6921
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 c2e6921

Please sign in to comment.