isklv / gatsby5-docker-template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gatsby

Gatsby Minimal TypeScript Starter

🚀 Quick start

  1. Start developing.

Build docker image

docker build -f Dockerfile.dev -t gatsby:5 .
  1. Run container (mount only src directory)
 docker run -d \
   -it \
   -p 8000:8000 \
   --name gatsby-dev \
   --mount type=bind,source="$(pwd -W)"/src,target=/app/gatsby/src \
   gatsby:5
  1. Open the code and start customizing!

Your site is now running at http://localhost:8000!

Edit src/pages/index.tsx to see your site update in real-time!

About


Languages

Language:TypeScript 95.0%Language:Makefile 2.9%Language:JavaScript 2.1%