Skip to content

Commit

Permalink
Chore: 패키지 설치 명령 수정
Browse files Browse the repository at this point in the history
- 같은 패키지 버전을 맞추기 위해 npm install -> ci로 변경

Related to #1
  • Loading branch information
Zamoca42 committed Oct 25, 2023
1 parent 1dcacd7 commit 9a9586b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: CI
on:
pull_request:
branches:
- 'develop'
- 'feature/*'

jobs:
Expand All @@ -20,7 +19,7 @@ jobs:
node-version: 20

- name: Install Node.js dependencies
run: npm install
run: npm ci

- name: Start Docker Compose
run: docker-compose up -d
Expand Down
4 changes: 2 additions & 2 deletions docker/local.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WORKDIR /usr/src/app
COPY package*.json ./

# Install application dependencies
RUN npm install
RUN npm ci

# Copy the rest of the application source code
COPY . .
Expand All @@ -17,4 +17,4 @@ COPY . .
EXPOSE 3000

# Define the command to run your NestJS application
CMD ["npm", "run", "start:dev"]
CMD ["npm", "run", "start"]

0 comments on commit 9a9586b

Please sign in to comment.