Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds Docker Support #79

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

MaxwellDPS
Copy link

Docker Support

This adds a docker image, updates readme with examples and adds github workflows to push to docker.

Building the image manually

  1. [Optional Build] Clone this repository
$ git clone https://github.com/itsignacioportal/ghost-static-site-generator/
$ cd ghost-static-site-generator
$ docker build -t ghost-static-site-generator:latest .

Useage example

# Make output dir
$ mkdir ./data

# Run and remove container when done
$ docker run --rm -it \
    -v ./data:/data \
    SimonM0/ghost-static-site-generator:latest \
    --domain http://www.myhiddenserver.com:4538 \
    --productionDomain http://www.myblog.com

Setup Workflow

  1. Make a dockerhub access token
  2. Add these 2 secrets

See example

To install docker see: https://docs.docker.com/engine/install/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant