Skip to content

Commit

Permalink
build: Dockfile 파일 수정
Browse files Browse the repository at this point in the history
kimsudang committed Dec 21, 2024
1 parent 0edaae4 commit c237c9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -8,13 +8,13 @@ WORKDIR /usr/src/app
COPY package*.json ./

# 의존성 설치
RUN yarn install
RUN npm install

# 소스 코드 복사
COPY . .

# NestJS 애플리케이션 빌드 (소스 코드 -> dist 폴더)
RUN yarn build
RUN npm run build

# 컨테이너에 환경변수 포트 노출
EXPOSE 8080

0 comments on commit c237c9a

Please sign in to comment.