forked from solita/solita.github.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
After checking how the deploy work, change deps fix approach: keep th…
…e deps pre-3.x but make bundler old enough too
- Loading branch information
Erno Kuusela
committed
Jan 9, 2024
1 parent
ea3731f
commit a9ef6d9
Showing
5 changed files
with
14 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
FROM ruby:3.1 | ||
# Following the version used by the GH action | ||
# (https://github.com/actions/jekyll-build-pages/blob/main/Dockerfile) | ||
FROM ruby:2.7.4 | ||
|
||
RUN mkdir /solita-blag | ||
WORKDIR /solita-blag | ||
VOLUME /solita-blag | ||
|
||
ENV LANG C.UTF-8 | ||
|
||
RUN gem install bundler | ||
RUN gem install bundler -v 2.4.22 | ||
ADD Gemfile /solita-blag | ||
ADD Gemfile.lock /solita-blag | ||
RUN bundle install | ||
|
||
CMD ["bundle", "exec", "jekyll", "serve", "--watch", "--host", "0.0.0.0"] | ||
EXPOSE 4000/tcp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,4 @@ gem 'github-pages' | |
|
||
group :development do | ||
gem 'compass' | ||
gem 'webrick' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters