generated from Fascinated/nextjs-13-template-with-tailwindcss
Lightweight alternative to Linktree and others.
https://fascinated.cc
.vscode | ||
src/app | ||
.dockerignore | ||
.eslintrc.json | ||
.gitignore | ||
docker-compose.yml | ||
Dockerfile | ||
LICENSE | ||
next-env.d.ts | ||
next.config.js | ||
package-lock.json | ||
package.json | ||
postcss.config.js | ||
README.md | ||
tailwind.config.js | ||
tsconfig.json |
NextJS 13 + TailwindCSS + Docker
Getting Started
- Clone this repo
- Run
yarn install
ornpm install
- Run
yarn dev
ornpm run dev
- Open http://localhost:3000 with your browser to see the result.
Docker
Ensure you have docker installed on your machine. If you don't have docker and are running Ubuntu, you can install it by following this guide.
- Copy the files to where you want to run the container or push the project to a repository and clone it.
- Run
docker compose up -d --build
(rerun this command if you make changes to the project) - Open http://server_ip:3000 with your browser to see the result.