Public | Automated Build

Last pushed: 7 months ago
Short Description
Quickly build your inferno-presenter slides
Full Description

inferno-presenter docker image

Usage

This image expects a volume being mounted at /ipr/src.
The slides will be automatically served by default, but you can override the entry point to execute a different npm scripts.
The following npm scripts are available:

  • start - Serves your slides on the port 8080 in development mode. It will watch the files within /ipr/src and trigger hot reloading.
  • build - Builds your slides and optimizes them for distribution.

Running a container

  • Start the dev server:

    docker run -it --rm -v src:/ipr/src -p 8080:8080 svi3c/inferno-presenter
    
  • Build the slides for distribution:

    docker run -it --rm -v src:/ipr/src -v dist:/ipr/dist -p 8080:8080 svi3c/inferno-presenter npm run build
    

Extending the image

If you want to add some additional npm packages for example, you can create your own Dockerfile:

FROM svi3c/inferno-presenter
RUN npm i -D some-package

Then build your image and run it like in the examples above.

Docker Pull Command
Owner
svi3c
Source Repository