Avoid Gemfile from site hiding installed gems

I’ve specified the BUNDLE_GEMFILE as the one that exists in the /src/site location (the source of the site being built) was preventing Jekyll from finding the installed dependencies.
This commit is contained in:
Mark Crossfield 2024-03-01 19:26:55 +00:00
Родитель a38857c392
Коммит 7292abd857
2 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -28,6 +28,8 @@ ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
ENV LC_ALL en_US.UTF-8
ENV BUNDLE_GEMFILE=/src/gh/pages-gem/Gemfile
WORKDIR /src/site
CMD ["jekyll", "serve", "-H", "0.0.0.0", "-P", "4000"]

Просмотреть файл

@ -17,6 +17,8 @@ ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
ENV LC_ALL en_US.UTF-8
ENV BUNDLE_GEMFILE=/src/gh/pages-gem/Gemfile
WORKDIR /src/site
CMD ["jekyll", "serve", "-H", "0.0.0.0", "-P", "4000"]