Skip to content

Commit d4e74ea

Browse files
authored
Merge pull request #3029 from nathanpainchaud/fix/docker-serve-url
Fix site URL in links when running locally with `docker compose` or DevContainer
2 parents 28274dc + 6f5947f commit d4e74ea

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ RUN gem install bundler:2.3.26
3232
RUN bundle install
3333

3434
# Command to serve the Jekyll site
35-
CMD ["jekyll", "serve", "-H", "0.0.0.0", "-w", "--config", "_config.yml,_config_docker.yml"]
35+
CMD ["jekyll", "serve", "-H", "0.0.0.0", "-w"]
3636

_config_docker.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

docker-compose.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@ services:
55
volumes: [ .:/usr/src/app ]
66
ports: [ 4000:4000 ]
77
user: 1000:1000
8-
environment: [ JEKYLL_ENV=docker ]
9-
command: jekyll serve -H 0.0.0.0 -w --config _config.yml, _config_docker.yml
8+
command: jekyll serve -H 0.0.0.0 -w

0 commit comments

Comments
 (0)