-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
๐ chore: path ๋ฌธ์ ํด๊ฒฐ - build -\> dist, packages/fronted/dist =\> dist
- Loading branch information
1 parent
5127429
commit 6505163
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM node:18-alpine | ||
FROM node:20-alpine | ||
WORKDIR /packages | ||
COPY . . | ||
RUN yarn install --frozen-lockfile | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
FROM node:18-alpine AS builder | ||
FROM node:20-alpine AS builder | ||
WORKDIR /packages | ||
COPY . . | ||
RUN yarn install --frozen-lockfile | ||
RUN yarn workspace frontend build | ||
|
||
# Nginx ์๋ฒ๋ก ๋น๋๋ ํ์ผ ์๋น | ||
FROM nginx:alpine | ||
COPY --from=builder /packages/frontend/build /usr/share/nginx/html | ||
COPY --from=builder /packages/dist /usr/share/nginx/html | ||
EXPOSE 80 | ||
CMD ["nginx", "-g", "daemon off;"] |