This repository enables users to run an isolated environment within a Docker container using an linux alpine base image.
The repository is cloned from the official next.js GitHub repository. The @tremor/react
npm package has been added as adependency on top and an example Tremor Block has been added the the pages/index.js
file.
NOTE: installing and setting up tailwind is not required to run Tremor, however if you like to test the app with a tailwind set up checkout the with-tailwind
branch in the repository.
- Clone this repository
- Install docker on your machine
- Run
npm install
- Build the docker image:
docker build -t tremor-alpine .
- Run the docker container:
docker run -p 3000:3000 tremor-alpine
- Open your browser at
http://localhost:3000/