Skip to content

Commit

Permalink
fix: mediasoup을 actions에서 빌드하고 캐싱하도록 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Fixtar committed Jan 5, 2025
1 parent ce90e2e commit 92002cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/media/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ COPY . .
RUN pnpm build && echo "Build completed successfully"

# 3. Mediasoup 빌드 결과 캐싱
RUN cp -r node_modules/.pnpm/mediasoup@*/node_modules/mediasoup ${MEDIASOUP_CACHE_DIR} && echo "Mediasoup cached successfully"
RUN mkdir -p ${MEDIASOUP_CACHE_DIR} && \
cp -r node_modules/.pnpm/mediasoup@*/node_modules/mediasoup ${MEDIASOUP_CACHE_DIR} && echo "Mediasoup cached successfully"

# 4. Runner 단계
FROM base AS runner
Expand Down

0 comments on commit 92002cc

Please sign in to comment.