Skip to content

Commit

Permalink
Merge pull request #120 from jeiltodo/temp/common-client
Browse files Browse the repository at this point in the history
fix: dockerfile 수정
  • Loading branch information
Dragonite-Lee committed Aug 23, 2024
2 parents a47ff7f + dac3999 commit 3860eec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions apps/admin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ FROM node:20-alpine AS runner
WORKDIR /app

COPY --from=builder /app/apps/admin/.next/standalone ./
COPY --from=builder /app/apps/admin/.next/static ./.next/static
COPY --from=builder /app/apps/admin/public ./public
COPY --from=builder /app/apps/admin/next.config.js ./next.config.js
COPY --from=builder /app/apps/admin/.next/static ./apps/admin/.next/static
COPY --from=builder /app/apps/admin/public ./apps/admin/public
COPY --from=builder /app/apps/admin/next.config.js ./apps/admin/next.config.js
COPY --from=builder /app/packages ./packages
COPY --from=builder /app/apps/admin/package.json ./packages
COPY --from=builder /app/apps/admin/package.json ./apps/admin/packages

ENV PORT=3001

Expand Down
8 changes: 4 additions & 4 deletions apps/user/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ FROM node:20-alpine AS runner
WORKDIR /app

COPY --from=builder /app/apps/user/.next/standalone ./
COPY --from=builder /app/apps/user/.next/static ./.next/static
COPY --from=builder /app/apps/user/public ./public
COPY --from=builder /app/apps/user/.next/static ./apps/user/.next/static
COPY --from=builder /app/apps/user/public ./apps/user/public
COPY --from=builder /app/packages ./packages
COPY --from=builder /app/apps/user/next.config.js ./next.config.js
COPY --from=builder /app/apps/user/package.json ./packages
COPY --from=builder /app/apps/user/next.config.js ./apps/user/next.config.js
COPY --from=builder /app/apps/user/package.json ./apps/user/packages

EXPOSE 3000
CMD ["node", "apps/user/server.js"]

0 comments on commit 3860eec

Please sign in to comment.