diff --git a/Dockerfile b/Dockerfile index 4a24328..257d12c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,6 @@ FROM ruby:3.2 WORKDIR /app COPY Gemfile /app/Gemfile -COPY Gemfile.lock /app/Gemfile.lock # Add a script to be executed every time the container starts. COPY entrypoint.sh /usr/bin/ diff --git a/docker-compose.yml b/docker-compose.yml index b698050..3108088 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,8 +8,6 @@ services: restart: always volumes: - .:/app - ports: - - "4000:4000" container_name: jekyll networks: - snowboard diff --git a/entrypoint.sh b/entrypoint.sh index 2cd4bed..2f174a7 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -6,7 +6,7 @@ rm -f /app/tmp/pids/server.pid gem update --system bundle install git config --global --add safe.directory /app -bundle exec jekyll serve --livereload --host 0.0.0.0 -o http://localhost:4000 --port 4000 +bundle exec jekyll serve --host 0.0.0.0 -o https://www.cscherr.de:4000 --port 4000 # Then exec the container's main process (what's set as CMD in the Dockerfile). exec "$@"