Skip to content

Commit a0927a0

Browse files
authored
Merge pull request #1680 from scarf005/build/fix-permission
build: fix docker compose permission
2 parents f1314bb + c2e6921 commit a0927a0

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@ COPY Gemfile .
88
COPY Gemfile.lock .
99

1010
RUN echo -n "bundle version: " && bundle --version
11-
RUN chmod u+s /bin/chown
1211
RUN bundle install

docker-compose.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
services:
22
jekyll:
3-
user: "${UID}:${GID}"
43
build: .
5-
command: sh -c "chown $UID / && bundle exec jekyll serve --incremental --host=0.0.0.0 "
4+
command: "bundle exec jekyll serve --incremental --host=0.0.0.0"
65
ports:
7-
- '4000:4000'
6+
- "4000:4000"
87
volumes:
98
- .:/srv/jekyll

0 commit comments

Comments
 (0)