{"id":38418,"date":"2024-11-01T18:16:44","date_gmt":"2024-11-01T18:16:44","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=38418"},"modified":"2024-11-26T06:44:23","modified_gmt":"2024-11-26T06:44:23","slug":"fastapi-%ec%84%9c%eb%b2%84%ea%b0%9c%eb%b0%9c-fastapi-%ec%95%a0%ed%94%8c%eb%a6%ac%ec%bc%80%ec%9d%b4%ec%85%98%ec%9d%84-docker-%ec%bb%a8%ed%85%8c%ec%9d%b4%eb%84%88%eb%a1%9c-%eb%b0%b0%ed%8f%ac%ed%95%98","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/38418\/","title":{"rendered":"FastAPI \uc11c\ubc84\uac1c\ubc1c, FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 Docker \ucee8\ud14c\uc774\ub108\ub85c \ubc30\ud3ec\ud558\uae30"},"content":{"rendered":"<p><body><\/p>\n<p>\n    FastAPI\ub294 \ucd5c\uc2e0 Python \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c \uc911 \ud558\ub098\ub85c, \ube60\ub978 \uac1c\ubc1c \uc18d\ub3c4\uc640 \ub192\uc740 \uc131\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \ud2b9\ud788 RESTful API\ub97c \uc27d\uac8c \ub9cc\ub4dc\ub294 \ub370 \uc801\ud569\ud558\uba70, \ube44\ub3d9\uae30 \ud504\ub85c\uadf8\ub798\ubc0d \ubaa8\ub378\uc744 \uc9c0\uc6d0\ud558\uc5ec \uace0\uc131\ub2a5 \uc6f9 \uc11c\ube44\uc2a4\ub97c \uad6c\ucd95\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \ube14\ub85c\uadf8 \uae00\uc5d0\uc11c\ub294 FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 Docker \ucee8\ud14c\uc774\ub108\ub85c \ubc30\ud3ec\ud558\ub294 \ubc29\ubc95\uc744 \uc790\uc138\ud788 \uc124\uba85\ud558\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4.\n<\/p>\n<h2>\ubaa9\ucc28<\/h2>\n<ul>\n<li><a href=\"#section1\">1. FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub9cc\ub4e4\uae30<\/a><\/li>\n<li><a href=\"#section2\">2. Docker \ud658\uacbd \uc124\uc815<\/a><\/li>\n<li><a href=\"#section3\">3. Dockerfile \uc791\uc131<\/a><\/li>\n<li><a href=\"#section4\">4. Docker \uc774\ubbf8\uc9c0 \ube4c\ub4dc<\/a><\/li>\n<li><a href=\"#section5\">5. Docker \ucee8\ud14c\uc774\ub108 \uc2e4\ud589<\/a><\/li>\n<li><a href=\"#section6\">6. \uacb0\ub860<\/a><\/li>\n<\/ul>\n<h2 id=\"section1\">1. FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub9cc\ub4e4\uae30<\/h2>\n<p>\n    FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4\uae30 \uc704\ud574\uc11c\ub294 \uba3c\uc800 \ud544\uc694\ud55c \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc124\uce58\ud574\uc57c \ud569\ub2c8\ub2e4. \uc544\ub798 \uba85\ub839\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec FastAPI\uc640 UVicorn (ASGI \uc11c\ubc84)\uc744 \uc124\uce58\ud569\ub2c8\ub2e4.\n<\/p>\n<pre><code>pip install fastapi uvicorn<\/code><\/pre>\n<p>\n    \uc774\uc81c \uac04\ub2e8\ud55c FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4\uc5b4 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc544\ub798 \ucf54\ub4dc\ub294 \uae30\ubcf8\uc801\uc778 &#8220;Hello, World!&#8221; API\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4.\n<\/p>\n<pre><code>from fastapi import FastAPI\n\napp = FastAPI()\n\n@app.get(\"\/\")\nasync def read_root():\n    return {\"Hello\": \"World\"}<\/code><\/pre>\n<p>\n    \uc704 \ucf54\ub4dc\ub97c <code>main.py<\/code>\ub77c\ub294 \uc774\ub984\uc758 \ud30c\uc77c\ub85c \uc800\uc7a5\ud569\ub2c8\ub2e4. \uc774 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc2e4\ud589\ud558\uae30 \uc704\ud574\uc11c\ub294 \ub2e4\uc74c \uba85\ub839\uc5b4\ub97c \uc785\ub825\ud569\ub2c8\ub2e4.\n<\/p>\n<pre><code>uvicorn main:app --reload<\/code><\/pre>\n<p>\n    \uc774\uc81c \uc6f9 \ube0c\ub77c\uc6b0\uc800\ub97c \uc5f4\uc5b4 <code>http:\/\/127.0.0.1:8000<\/code>\uc5d0 \uc811\uc18d\ud558\uba74 {&#8220;Hello&#8221;: &#8220;World&#8221;}\ub77c\ub294 JSON \uc751\ub2f5\uc744 \ud655\uc778\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n<\/p>\n<h2 id=\"section2\">2. Docker \ud658\uacbd \uc124\uc815<\/h2>\n<p>\n    Docker\ub97c \uc0ac\uc6a9\ud558\uba74 FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ucee8\ud14c\uc774\ub108\ud654\ud558\uc5ec \uc27d\uac8c \ubc30\ud3ec\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. Docker\uac00 \uc124\uce58\ub418\uc5b4 \uc788\uc9c0 \uc54a\ub2e4\uba74, [Docker \uacf5\uc2dd \uc6f9\uc0ac\uc774\ud2b8](https:\/\/www.docker.com\/get-started)\uc5d0\uc11c \uc124\uce58\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n<\/p>\n<p>\n    Docker \uc124\uce58\uac00 \uc644\ub8cc\ub418\uba74, Docker\uac00 \uc815\uc0c1\uc801\uc73c\ub85c \uc791\ub3d9\ud558\ub294\uc9c0 \ud655\uc778\ud558\uae30 \uc704\ud574 \uc544\ub798 \uba85\ub839\uc5b4\ub97c \uc785\ub825\ud574\ubcf4\uc138\uc694.\n<\/p>\n<pre><code>docker --version<\/code><\/pre>\n<p>\n    \uc815\uc0c1\uc801\uc73c\ub85c \uc124\uce58\ub418\uc5c8\ub2e4\uba74 Docker \ubc84\uc804\uc774 \ucd9c\ub825\ub420 \uac83\uc785\ub2c8\ub2e4.\n<\/p>\n<h2 id=\"section3\">3. Dockerfile \uc791\uc131<\/h2>\n<p>\n    Dockerfile\uc740 Docker \uc774\ubbf8\uc9c0\ub97c \uc0dd\uc131\ud558\uae30 \uc704\ud55c \uba85\uc138\uc11c\uc785\ub2c8\ub2e4. FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 Docker\ub85c \uc2e4\ud589\ud558\uae30 \uc704\ud55c Dockerfile\uc744 \uc544\ub798\uc640 \uac19\uc774 \uc791\uc131\ud569\ub2c8\ub2e4.\n<\/p>\n<pre><code># Dockerfile\nFROM tiangolo\/uvicorn-gunicorn-fastapi:python3.9\n\nCOPY .\/app \/app\n\n# \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub514\ub809\ud1a0\ub9ac \uc124\uc815\nWORKDIR \/app\n\n# \ud544\uc694\ud55c \ud328\ud0a4\uc9c0 \uc124\uce58\nRUN pip install --no-cache-dir fastapi\n\n# UVicorn \uc11c\ubc84\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uc2e4\ud589\nCMD [\"uvicorn\", \"main:app\", \"--host\", \"0.0.0.0\", \"--port\", \"80\"]<\/code><\/pre>\n<p>\n    \uc704 Dockerfile\uc5d0\uc11c\ub294 <code>FROM tiangolo\/uvicorn-gunicorn-fastapi:python3.9<\/code>\ub97c \uc0ac\uc6a9\ud558\uc5ec FastAPI\ub97c \uc704\ud55c \uae30\ubcf8 \uc774\ubbf8\uc9c0\ub97c \uc124\uc815\ud569\ub2c8\ub2e4. \uadf8 \ub2e4\uc74c, \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ud30c\uc77c\uc744 Docker \uc774\ubbf8\uc9c0\ub85c \ubcf5\uc0ac\ud558\uace0, \ud544\uc694\ud55c \ud328\ud0a4\uc9c0\ub97c \uc124\uce58\ud55c \ud6c4 UVicorn\uc744 \ud1b5\ud574 FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc2e4\ud589\ud558\ub3c4\ub85d \uc124\uc815\ud569\ub2c8\ub2e4.\n<\/p>\n<h2 id=\"section4\">4. Docker \uc774\ubbf8\uc9c0 \ube4c\ub4dc<\/h2>\n<p>\n    Dockerfile\uc744 \uc791\uc131\ud55c \ud6c4, \uc774\uc81c Docker \uc774\ubbf8\uc9c0\ub97c \ube4c\ub4dc\ud569\ub2c8\ub2e4. \ub2e4\uc74c \uba85\ub839\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec Docker \uc774\ubbf8\uc9c0\ub97c \uc0dd\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n<\/p>\n<pre><code>docker build -t myfastapiapp .<\/code><\/pre>\n<p>\n    \uc5ec\uae30\uc11c <code>-t<\/code> \ud50c\ub798\uadf8\ub294 \uc774\ubbf8\uc9c0\ub97c \ud0dc\uadf8\ud558\ub294 \uac83\uc73c\ub85c, \ud6c4\uc5d0 \ucee8\ud14c\uc774\ub108\ub97c \uc2e4\ud589\ud560 \ub54c \uc774 \ud0dc\uadf8\ub97c \uc0ac\uc6a9\ud558\uac8c \ub429\ub2c8\ub2e4.\n<\/p>\n<h2 id=\"section5\">5. Docker \ucee8\ud14c\uc774\ub108 \uc2e4\ud589<\/h2>\n<p>\n    \uc131\uacf5\uc801\uc73c\ub85c Docker \uc774\ubbf8\uc9c0\ub97c \ube4c\ub4dc\ud55c \ud6c4, \uc774\uc81c \ucee8\ud14c\uc774\ub108\ub97c \uc2e4\ud589\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc544\ub798 \uba85\ub839\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucee8\ud14c\uc774\ub108\ub97c \uc2e4\ud589\ud569\ub2c8\ub2e4.\n<\/p>\n<pre><code>docker run -d --name fastapi_container -p 8000:80 myfastapiapp<\/code><\/pre>\n<p>\n    \uc5ec\uae30\uc11c <code>-d<\/code> \ud50c\ub798\uadf8\ub294 \ub514\ud0dc\uce58\ub4dc \ubaa8\ub4dc\ub85c \ucee8\ud14c\uc774\ub108\ub97c \uc2e4\ud589\ud558\uba70, <code>--name<\/code> \ud50c\ub798\uadf8\ub294 \ucee8\ud14c\uc774\ub108\uc758 \uc774\ub984\uc744 \uc124\uc815\ud569\ub2c8\ub2e4. <code>-p<\/code> \ud50c\ub798\uadf8\ub294 \ub85c\uceec\uc758 8000 \ud3ec\ud2b8\ub97c Docker \ucee8\ud14c\uc774\ub108\uc758 80 \ud3ec\ud2b8\uc640 \uc5f0\uacb0\ud569\ub2c8\ub2e4.\n<\/p>\n<p>\n    \ucee8\ud14c\uc774\ub108\uac00 \uc2e4\ud589 \uc911\uc778\uc9c0 \ud655\uc778\ud558\ub824\uba74 \ub2e4\uc74c \uba85\ub839\uc5b4\ub97c \uc785\ub825\ud569\ub2c8\ub2e4.\n<\/p>\n<pre><code>docker ps<\/code><\/pre>\n<p>\n    \uc774\uc81c \uc6f9 \ube0c\ub77c\uc6b0\uc800\ub97c \uc5f4\uace0 <code>http:\/\/127.0.0.1:8000<\/code>\uc5d0 \uc811\uc18d\ud558\uba74 FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc774 \uc815\uc0c1\uc801\uc73c\ub85c \uc791\ub3d9\ud558\ub294 \uac83\uc744 \ud655\uc778\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n<\/p>\n<h2 id=\"section6\">6. \uacb0\ub860<\/h2>\n<p>\n    \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 Docker \ucee8\ud14c\uc774\ub108\ub85c \ubc30\ud3ec\ud558\ub294 \ubc29\ubc95\uc744 \ub2e4\ub904\ubcf4\uc558\uc2b5\ub2c8\ub2e4. FastAPI\uc758 \uc124\uce58\ubd80\ud130 \uc2dc\uc791\ud558\uc5ec Docker \ud658\uacbd \uc124\uc815, Dockerfile \uc791\uc131, \uc774\ubbf8\uc9c0 \ube4c\ub4dc, \ucee8\ud14c\uc774\ub108 \uc2e4\ud589\uae4c\uc9c0\uc758 \ubaa8\ub4e0 \uacfc\uc815\uc744 \uc0b4\ud3b4\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uc774\uc81c \uc5ec\ub7ec\ubd84\uc740 FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc190\uc27d\uac8c Docker\ub85c \ubc30\ud3ec\ud560 \uc218 \uc788\ub294 \uae30\ubc18\uc744 \uac16\ucd94\uac8c \ub418\uc168\uc2b5\ub2c8\ub2e4.\n<\/p>\n<p>\n    Docker\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ucee8\ud14c\uc774\ub108\ud654\ud558\uc5ec \uc2e4\ud589 \ud658\uacbd\uc744 \uc77c\uad00\ub418\uac8c \uc81c\uacf5\ud574\uc8fc\ub294 \uac15\ub825\ud55c \ub3c4\uad6c\uc785\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uac1c\ubc1c\uc790\ub294 \ub2e4\uc591\ud55c \ud50c\ub7ab\ud3fc\uc5d0\uc11c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc27d\uac8c \ubc30\ud3ec\ud558\uace0 \uad00\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. FastAPI\uc640 Docker\uc758 \uc870\ud569\uc740 \ud604\ub300\uc758 \uc6f9 \uac1c\ubc1c\uc5d0\uc11c \ud544\uc218\uc801\uc778 \uae30\uc220 \uc911 \ud558\ub098\uac00 \ub420 \uac83\uc785\ub2c8\ub2e4.\n<\/p>\n<p>\n    \uc55e\uc73c\ub85c\ub3c4 FastAPI\uc640 \uac19\uc740 \ucd5c\uc2e0 \uae30\uc220\uc744 \ud65c\uc6a9\ud558\uc5ec \ub354\uc6b1 \ud5a5\uc0c1\ub41c \uc6f9 \uc11c\ube44\uc2a4 \uac1c\ubc1c\uc5d0 \ub3c4\uc804\ud574\ubcf4\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4!\n<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>FastAPI\ub294 \ucd5c\uc2e0 Python \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c \uc911 \ud558\ub098\ub85c, \ube60\ub978 \uac1c\ubc1c \uc18d\ub3c4\uc640 \ub192\uc740 \uc131\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \ud2b9\ud788 RESTful API\ub97c \uc27d\uac8c \ub9cc\ub4dc\ub294 \ub370 \uc801\ud569\ud558\uba70, \ube44\ub3d9\uae30 \ud504\ub85c\uadf8\ub798\ubc0d \ubaa8\ub378\uc744 \uc9c0\uc6d0\ud558\uc5ec \uace0\uc131\ub2a5 \uc6f9 \uc11c\ube44\uc2a4\ub97c \uad6c\ucd95\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \ube14\ub85c\uadf8 \uae00\uc5d0\uc11c\ub294 FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 Docker \ucee8\ud14c\uc774\ub108\ub85c \ubc30\ud3ec\ud558\ub294 \ubc29\ubc95\uc744 \uc790\uc138\ud788 \uc124\uba85\ud558\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4. \ubaa9\ucc28 1. FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub9cc\ub4e4\uae30 2. Docker \ud658\uacbd \uc124\uc815 3. Dockerfile \uc791\uc131 4. &hellip; <a href=\"https:\/\/atmokpo.com\/w\/38418\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;FastAPI \uc11c\ubc84\uac1c\ubc1c, FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 Docker \ucee8\ud14c\uc774\ub108\ub85c \ubc30\ud3ec\ud558\uae30&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[183],"tags":[],"class_list":["post-38418","post","type-post","status-publish","format-standard","hentry","category-fastapi"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>FastAPI \uc11c\ubc84\uac1c\ubc1c, FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 Docker \ucee8\ud14c\uc774\ub108\ub85c \ubc30\ud3ec\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/38418\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"FastAPI \uc11c\ubc84\uac1c\ubc1c, FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 Docker \ucee8\ud14c\uc774\ub108\ub85c \ubc30\ud3ec\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"FastAPI\ub294 \ucd5c\uc2e0 Python \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c \uc911 \ud558\ub098\ub85c, \ube60\ub978 \uac1c\ubc1c \uc18d\ub3c4\uc640 \ub192\uc740 \uc131\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \ud2b9\ud788 RESTful API\ub97c \uc27d\uac8c \ub9cc\ub4dc\ub294 \ub370 \uc801\ud569\ud558\uba70, \ube44\ub3d9\uae30 \ud504\ub85c\uadf8\ub798\ubc0d \ubaa8\ub378\uc744 \uc9c0\uc6d0\ud558\uc5ec \uace0\uc131\ub2a5 \uc6f9 \uc11c\ube44\uc2a4\ub97c \uad6c\ucd95\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \ube14\ub85c\uadf8 \uae00\uc5d0\uc11c\ub294 FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 Docker \ucee8\ud14c\uc774\ub108\ub85c \ubc30\ud3ec\ud558\ub294 \ubc29\ubc95\uc744 \uc790\uc138\ud788 \uc124\uba85\ud558\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4. \ubaa9\ucc28 1. FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub9cc\ub4e4\uae30 2. Docker \ud658\uacbd \uc124\uc815 3. Dockerfile \uc791\uc131 4. &hellip; \ub354 \ubcf4\uae30 &quot;FastAPI \uc11c\ubc84\uac1c\ubc1c, FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 Docker \ucee8\ud14c\uc774\ub108\ub85c \ubc30\ud3ec\ud558\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/38418\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T18:16:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:44:23+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/38418\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38418\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"FastAPI \uc11c\ubc84\uac1c\ubc1c, FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 Docker \ucee8\ud14c\uc774\ub108\ub85c \ubc30\ud3ec\ud558\uae30\",\"datePublished\":\"2024-11-01T18:16:44+00:00\",\"dateModified\":\"2024-11-26T06:44:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38418\/\"},\"wordCount\":69,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"FastAPI\uc11c\ubc84\uac1c\ubc1c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/38418\/\",\"url\":\"https:\/\/atmokpo.com\/w\/38418\/\",\"name\":\"FastAPI \uc11c\ubc84\uac1c\ubc1c, FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 Docker \ucee8\ud14c\uc774\ub108\ub85c \ubc30\ud3ec\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T18:16:44+00:00\",\"dateModified\":\"2024-11-26T06:44:23+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38418\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/38418\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/38418\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"FastAPI \uc11c\ubc84\uac1c\ubc1c, FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 Docker \ucee8\ud14c\uc774\ub108\ub85c \ubc30\ud3ec\ud558\uae30\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"FastAPI \uc11c\ubc84\uac1c\ubc1c, FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 Docker \ucee8\ud14c\uc774\ub108\ub85c \ubc30\ud3ec\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/38418\/","og_locale":"ko_KR","og_type":"article","og_title":"FastAPI \uc11c\ubc84\uac1c\ubc1c, FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 Docker \ucee8\ud14c\uc774\ub108\ub85c \ubc30\ud3ec\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"FastAPI\ub294 \ucd5c\uc2e0 Python \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c \uc911 \ud558\ub098\ub85c, \ube60\ub978 \uac1c\ubc1c \uc18d\ub3c4\uc640 \ub192\uc740 \uc131\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \ud2b9\ud788 RESTful API\ub97c \uc27d\uac8c \ub9cc\ub4dc\ub294 \ub370 \uc801\ud569\ud558\uba70, \ube44\ub3d9\uae30 \ud504\ub85c\uadf8\ub798\ubc0d \ubaa8\ub378\uc744 \uc9c0\uc6d0\ud558\uc5ec \uace0\uc131\ub2a5 \uc6f9 \uc11c\ube44\uc2a4\ub97c \uad6c\ucd95\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \ube14\ub85c\uadf8 \uae00\uc5d0\uc11c\ub294 FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 Docker \ucee8\ud14c\uc774\ub108\ub85c \ubc30\ud3ec\ud558\ub294 \ubc29\ubc95\uc744 \uc790\uc138\ud788 \uc124\uba85\ud558\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4. \ubaa9\ucc28 1. FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub9cc\ub4e4\uae30 2. Docker \ud658\uacbd \uc124\uc815 3. Dockerfile \uc791\uc131 4. &hellip; \ub354 \ubcf4\uae30 \"FastAPI \uc11c\ubc84\uac1c\ubc1c, FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 Docker \ucee8\ud14c\uc774\ub108\ub85c \ubc30\ud3ec\ud558\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/38418\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T18:16:44+00:00","article_modified_time":"2024-11-26T06:44:23+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/38418\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/38418\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"FastAPI \uc11c\ubc84\uac1c\ubc1c, FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 Docker \ucee8\ud14c\uc774\ub108\ub85c \ubc30\ud3ec\ud558\uae30","datePublished":"2024-11-01T18:16:44+00:00","dateModified":"2024-11-26T06:44:23+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/38418\/"},"wordCount":69,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["FastAPI\uc11c\ubc84\uac1c\ubc1c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/38418\/","url":"https:\/\/atmokpo.com\/w\/38418\/","name":"FastAPI \uc11c\ubc84\uac1c\ubc1c, FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 Docker \ucee8\ud14c\uc774\ub108\ub85c \ubc30\ud3ec\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T18:16:44+00:00","dateModified":"2024-11-26T06:44:23+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/38418\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/38418\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/38418\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"FastAPI \uc11c\ubc84\uac1c\ubc1c, FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 Docker \ucee8\ud14c\uc774\ub108\ub85c \ubc30\ud3ec\ud558\uae30"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38418","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=38418"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38418\/revisions"}],"predecessor-version":[{"id":38419,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38418\/revisions\/38419"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=38418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=38418"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=38418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}