Spaces:
Sleeping
Sleeping
File size: 2,670 Bytes
179eccc | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | [**์์ํ๊ธฐ**](./getting-started.md) > **์ค์น** > **Docker** _(ํ์ฌ)_
---
### docker ๋ฅผ ํตํด PDFMathTranslate ์ค์นํ๊ธฐ
#### Docker ๋ ๋ฌด์์ธ๊ฐ?
[Docker](https://docs.docker.com/get-started/docker-overview/) ๋ ์ ํ๋ฆฌ์ผ์ด์
์ ๊ฐ๋ฐ, ๋ฐฐ์ก ๋ฐ ์คํํ๊ธฐ ์ํ ์คํ ํ๋ซํผ์
๋๋ค. Docker ๋ฅผ ์ฌ์ฉํ๋ฉด ์ธํ๋ผ์์ ์ ํ๋ฆฌ์ผ์ด์
์ ๋ถ๋ฆฌํ์ฌ ์ํํธ์จ์ด๋ฅผ ๋น ๋ฅด๊ฒ ์ ๊ณตํ ์ ์์ต๋๋ค. Docker ๋ฅผ ์ฌ์ฉํ๋ฉด ์ ํ๋ฆฌ์ผ์ด์
์ ๊ด๋ฆฌํ๋ ๊ฒ๊ณผ ๊ฐ์ ๋ฐฉ์์ผ๋ก ์ธํ๋ผ๋ฅผ ๊ด๋ฆฌํ ์ ์์ต๋๋ค. Docker ์ ์ฝ๋ ๋ฐฐ์ก, ํ
์คํธ ๋ฐ ๋ฐฐํฌ ๋ฐฉ๋ฒ๋ก ์ ํ์ฉํ๋ฉด ์ฝ๋ ์์ฑ๊ณผ ํ๋ก๋์
ํ๊ฒฝ์์ ์คํ ์ฌ์ด์ ์ง์ฐ์ ํฌ๊ฒ ์ค์ผ ์ ์์ต๋๋ค.
#### ์ค์น
<h4>1. ํํ๊ณ ์คํํ๊ธฐ:</h4>
```bash
docker pull awwaawwa/pdfmathtranslate-next
docker run -d -p 7860:7860 awwaawwa/pdfmathtranslate-next
```
> [!NOTE]
>
> - Docker Hub ์ ์ ๊ทผํ ์ ์๋ ๊ฒฝ์ฐ, [GitHub Container Registry](https://github.com/PDFMathTranslate-next/PDFMathTranslate-next/pkgs/container/pdfmathtranslate) ์ ์ด๋ฏธ์ง๋ฅผ ์ฌ์ฉํด ๋ณด์ธ์.
>
> ```bash
> docker pull ghcr.io/pdfmathtranslate-next/pdfmathtranslate-next
> docker run -d -p 7860:7860 ghcr.io/pdfmathtranslate-next/pdfmathtranslate-next
> ```
<h4>2. ๊ธฐ๋ณธ ๋ธ๋ผ์ฐ์ ์์ ์ด URL ์ ์
๋ ฅํ์ฌ WebUI ํ์ด์ง๋ฅผ ์ฝ๋๋ค:</h4>
```
http://localhost:7860/
```
> [!NOTE]
> WebUI ์ฌ์ฉ ์ค ๋ฌธ์ ๊ฐ ๋ฐ์ํ๋ฉด [์ฌ์ฉ๋ฒ --> WebUI](./USAGE_webui.md) ๋ฅผ ์ฐธ์กฐํ์ธ์.
> [!NOTE]
> ๋ช
๋ น์ค ์ฌ์ฉ ์ค ๋ฌธ์ ๊ฐ ๋ฐ์ํ๋ฉด [์ฌ์ฉ๋ฒ --> Command Line](./USAGE_commandline.md) ๋ฅผ ์ฐธ์กฐํ์ธ์.
<!--
#### For docker deployment on cloud service:
<div>
<a href="https://www.heroku.com/deploy?template=https://github.com/PDFMathTranslate-next/PDFMathTranslate-next">
<img src="https://www.herokucdn.com/deploy/button.svg" alt="Deploy" height="26"></a>
<a href="https://render.com/deploy">
<img src="https://render.com/images/deploy-to-render-button.svg" alt="Deploy to Koyeb" height="26"></a>
<a href="https://zeabur.com/templates/5FQIGX?referralCode=reycn">
<img src="https://zeabur.com/button.svg" alt="Deploy on Zeabur" height="26"></a>
<a href="https://app.koyeb.com/deploy?type=git&builder=buildpack&repository=github.com/PDFMathTranslate-next/PDFMathTranslate-next&branch=main&name=pdf-math-translate">
<img src="https://www.koyeb.com/static/images/deploy/button.svg" alt="Deploy to Koyeb" height="26"></a>
</div>
-->
<div align="right">
<h6><small>์ด ํ์ด์ง์ ์ผ๋ถ ๋ด์ฉ์ GPT ์ ์ํด ๋ฒ์ญ๋์์ผ๋ฉฐ ์ค๋ฅ๊ฐ ํฌํจ๋ ์ ์์ต๋๋ค.</small></h6> |