forked from academicpages/academicpages.github.io
-
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.
Merge branch 'master' of https://github.com/academicpages/academicpag…
- Loading branch information
Showing
4 changed files
with
42 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Base image: Ruby with necessary dependencies for Jekyll | ||
FROM ruby:3.2 | ||
|
||
# Install dependencies | ||
RUN apt-get update && apt-get install -y \ | ||
build-essential \ | ||
nodejs \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Set the working directory inside the container | ||
WORKDIR /usr/src/app | ||
|
||
# Copy Gemfile and Gemfile.lock into the container (necessary for `bundle install`) | ||
COPY Gemfile Gemfile.lock ./ | ||
|
||
# Install bundler and dependencies | ||
RUN gem install bundler:2.3.26 && bundle install | ||
|
||
# Expose port 4000 for Jekyll server | ||
EXPOSE 4000 | ||
|
||
# Command to serve the Jekyll site | ||
CMD ["bundle", "exec", "jekyll", "serve", "--host", "0.0.0.0", "--watch"] | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
<script src="{{ base_path }}/assets/js/main.min.js"></script> | ||
|
||
{% include analytics.html %} | ||
{% include /comments-providers/scripts.html %} |