Sign inSign up

whatishedoing/jekyll-node

By whatishedoing

Updated over 6 years ago

NodeJS, Python and Ruby with global modules.

Image
0

928

whatishedoing/jekyll-node repository overview

Docker Jekyll Node.js

Docker Pulls Docker Cloud Build Status

👋 Introduction

Designed to be used as a base image for Jekyll builds, with Node.js augmentation. Yarn is also available.

🏃‍ Usage

Try using it as as part of your [CI/CD] pipeline:

# Specify this image.
FROM whatishedoing/jekyll-node

WORKDIR /home

# Copy all files that are not in .dockerignore.
COPY . .

# Install modules and run the build.
RUN yarn install --frozen-lockfile && \
    yarn build

# Let the consumer know that Jekyll will serve from port 4000 on docker run.
EXPOSE 4000

# Run Jekyll serve to test!
CMD [ "jekyll", "serve", "--host", "0.0.0.0" ]

Tag summary

Content type

Image

Digest

Size

496.8 MB

Last updated

over 6 years ago

docker pull whatishedoing/jekyll-node