Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/wet-boew/GCWeb
Browse files Browse the repository at this point in the history
  • Loading branch information
ipaksc committed Oct 30, 2023
2 parents f3d688e + c524e37 commit 2225e0f
Show file tree
Hide file tree
Showing 304 changed files with 18,187 additions and 3,595 deletions.
21 changes: 9 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,26 +1,23 @@
# Base on: Starefossen/docker-github-pages

FROM starefossen/ruby-node:2-6-alpine
ARG RUBY_VERSION=2.7.3
FROM ruby:$RUBY_VERSION

ENV GITHUB_GEM_VERSION 227
ENV JSON_GEM_VERSION 2.6.2

RUN apk --update add --virtual build_deps \
build-base ruby-dev libc-dev linux-headers \
RUN apt-get update \
&& apt-get install -y \
git \
locales \
make \
nodejs \
&& gem update --system \
&& gem install --verbose --no-document \
json:${JSON_GEM_VERSION} \
json \
github-pages \
jekyll-github-metadata \
minitest \
&& gem install rake html-proofer \
&& apk del build_deps \
&& apk add git \
&& mkdir -p /usr/src/app \
&& rm -rf /usr/lib/ruby/gems/*/cache/*.gem

# github-pages:${GITHUB_GEM_VERSION} \

WORKDIR /usr/src/app

EXPOSE 4000 80
Expand Down
Loading

0 comments on commit 2225e0f

Please sign in to comment.