Skip to content

Commit

Permalink
Merge pull request #243 from boostcampwm-2024/fix/#241/cd
Browse files Browse the repository at this point in the history
[Fix] .env 저장 경로 변경 및 배포 명령 수정
  • Loading branch information
Fixtar authored Nov 21, 2024
2 parents 9fbcc54 + 05db0cd commit d2cc558
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions apps/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ COPY --from=builder /app/out/full/ .
RUN pnpm build:api

COPY --from=builder /app/apps/api/.env /app/apps/api/dist/.env
COPY --from=builder /app/apps/api/.env /app/.env

EXPOSE 3001

Expand Down
3 changes: 2 additions & 1 deletion apps/media/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM base AS builder

RUN apk update

RUN apk add --no-cache libc6-compat
RUN apk add --no-cache python3 py3-pip build-base linux-headers libgcc libstdc++

WORKDIR /app

Expand Down Expand Up @@ -39,6 +39,7 @@ COPY --from=builder /app/out/full/ .
RUN pnpm build:media

COPY --from=builder /app/apps/media/.env /app/apps/media/dist/.env
COPY --from=builder /app/apps/media/.env /app/.env

EXPOSE 3002

Expand Down
2 changes: 1 addition & 1 deletion apps/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM base AS builder

RUN apk update

RUN apk add --no-cache libc6-compat
RUN apk add --no-cache python3 py3-pip build-base linux-headers libgcc libstdc++

WORKDIR /app

Expand Down

0 comments on commit d2cc558

Please sign in to comment.