Skip to content

Commit 6f5947f

Browse files
Remove override of JEKYLL_ENV env var and url config option
Removing the overrides makes jekyll default to the serve URL, rather than use the build URL
1 parent bd1b35d commit 6f5947f

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)