Skip to content

Commit

Permalink
배포 설정 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
육기준 authored Dec 26, 2023
1 parent fc08148 commit 82ed199
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ COPY . .
# npm install과 COPY . . 를 동시에 수행하면
# 소스 코드가 조금 달라질때도 항상 npm install을 수행해서 리소스가 낭비된다.

ARG BASE_URL
ENV REACT_APP_API_KEY $BASE_URL
# 3000번 포트 노출
EXPOSE 3000

# npm start 스크립트 실행
CMD ["npm", "start"]
CMD ["npm", "start"]

0 comments on commit 82ed199

Please sign in to comment.