mirror of https://github.com/knative/docs.git
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8. - [Release notes](https://github.com/micromatch/micromatch/releases) - [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md) - [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8) --- updated-dependencies: - dependency-name: micromatch dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| app | ||
| client | ||
| config | ||
| public/images | ||
| .eslintrc.json | ||
| .gitignore | ||
| Dockerfile | ||
| README.md | ||
| next.config.mjs | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.ts | ||
| tsconfig.json | ||
README.md
Getting Started
This app use Next.js and TailwindCSS as main packages. Use this command to install all dependencies:
npm install
To run application, use:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000{:target="_blank"} with your browser to see the result.
Project Structures
- app/: Contains the main layout, page, and global styling.
- client/: Contains components and pages used in the application.
- public/images/: Contains image files.
- next-env.d.ts, next.config.mjs, package-lock.json, package.json, postcss.config.js, tailwind.config.js, tsconfig.json: Configuration files for Next.js, Tailwind CSS, and TypeScript.
Containerize Application
This repository contains a Next.js application that utilizes next-themes and Tailwind CSS. This README file provides instructions on how to containerize the application using Docker.
Prerequisites
- Docker installed on your machine. You can download and install Docker from here{:target="_blank"}.
Dockerization Steps
- Clone this repository to your local machine.
- Navigate to the root directory of the cloned repository.
Building the Docker Image
Run the following command to build the Docker image:
docker build -t frontend .
Running the Docker Container
Once the image is built, you can run a container using the following command:
docker run -d -p 3000:3000 frontend