Skip to content

Commit

Permalink
Merge pull request #64 from jeiltodo/develop
Browse files Browse the repository at this point in the history
docker file 생성
  • Loading branch information
Dragonite-Lee committed Aug 16, 2024
2 parents 78458d7 + af14d89 commit 801ece6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion apps/admin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ FROM node:18-alpine AS builder
WORKDIR /app
COPY . .
COPY --from=deps /app/node_modules ./node_modules
RUN yarn build --filter=apps/admin
RUN yarn build --filter=admin

FROM node:18-alpine AS runner
WORKDIR /app
Expand All @@ -20,4 +20,5 @@ COPY --from=builder /app/apps/admin/package.json ./package.json
COPY --from=builder /app/packages ./packages

EXPOSE 3001

CMD ["yarn", "start"]
3 changes: 2 additions & 1 deletion apps/user/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ FROM node:18-alpine AS builder
WORKDIR /app
COPY . .
COPY --from=deps /app/node_modules ./node_modules
RUN yarn build --filter=apps/user

RUN yarn build --filter=user

FROM node:18-alpine AS runner
WORKDIR /app
Expand Down

0 comments on commit 801ece6

Please sign in to comment.