๐ fix: ๋ฉ๋ชจ๋ฆฌ ๋ถ์กฑ์ผ๋ก ์ธํ ๋ฐฐํฌ ์คํจ ๋ฌธ์ #16
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
๐ ๋ณ๊ฒฝ ์ฌํญ ๊ฐ์
t2.micro ํ๊ฒฝ์์ ๋ฐ์ํ๋ ๋ฉ๋ชจ๋ฆฌ ๋ถ์กฑ ๋ฐ ๋น๋ ์๊ฐ ๋ฌธ์ ํด๊ฒฐ
โจ ์์ฝ
Multi-stage build์ ์์ฐจ์ ๋ฐฐํฌ ์ ๋ต์ผ๋ก ๋ฉ๋ชจ๋ฆฌ ์ฌ์ฉ๋์ ์ต์ ํํ๊ณ ๋น๋ ์ฑ๋ฅ์ ๊ฐ์
๐ ์์ธ ๋ด์ฉ
์ถ๊ฐ/์์ ํ์ผ
.dockerignore: ๋ถํ์ํ ํ์ผ ์ ์ธ (node_modules, .git ๋ฑ)Dockerfile: 3๋จ๊ณ Multi-stage build ์ ์ฉdeploy.yml: ์์ฐจ์ ์ปจํ ์ด๋ ๋ฐฐํฌ ๋ฐ ๋ฉ๋ชจ๋ฆฌ ๊ด๋ฆฌ ๋ก์ง ์ถ๊ฐ์ฃผ์ ๊ฐ์ ์ฌํญ
๐ ๊ด๋ จ ์ด์
PR #14์์ ๋ฐ์ํ 6๋ถ ์ด์ ๋น๋ ๋ฐ ๋ฉ์ถค ํ์
๐ผ๏ธ ์คํฌ๋ฆฐ์ท
โ ์ฒดํฌ๋ฆฌ์คํธ
๐ก ์ฐธ๊ณ ์ฌํญ