Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
3. 의존성 설치:
```bash
# npm 사용 시
npm install
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
# yarn 사용 시
yarn install
```
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
4. 프로덕션 빌드:
```bash
# npm 사용 시
npm run build
npm start
## Learn More
# yarn 사용 시
yarn build
yarn start
```
To learn more about Next.js, take a look at the following resources:
### B) Docker를 이용한 실행 방법
-[Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
-[Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
1. 필수 요구사항:
- Docker
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
2. Docker 이미지 빌드:
```bash
docker build -t aj-lib-phrase .
```
## Deploy on Vercel
3. Docker 컨테이너 실행:
```bash
docker run -p 3000:3000 aj-lib-phrase
```
## 환경 변수 설정
프로젝트 루트에 `.env` 파일을 생성하고 필요한 환경 변수를 설정하세요.
```env
# 예시
NEXT_PUBLIC_API_URL=your_api_url
```
---
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
## 프로젝트 구조
```
AJ_Lib_Phrase/
├── src/ # 소스 코드
├── public/ # 정적 파일
├── .next/ # Next.js 빌드 출력
├── node_modules/ # 의존성 모듈
└── ...
```
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.