Skip to content

Commit

Permalink
fix dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rrozek committed Aug 12, 2024
1 parent f7816c3 commit 645f766
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-push-ecr-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
# - name: Check out code
# uses: actions/checkout@v3
# - name: Run tests
# run: docker-compose -f docker-compose.test.yml run server npm test
# run: docker compose -f docker-compose.test.yml run server npm test

build-push:
name: Build image and push to ECR(tokenguard-dev)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-push-ecr-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
# - name: Check out code
# uses: actions/checkout@v3
# - name: Run tests
# run: docker-compose -f docker-compose.test.yml run server npm test
# run: docker compose -f docker-compose.test.yml run server npm test

build-push:
name: Build and push to ECR(tokenguard-prod)
Expand Down
2 changes: 1 addition & 1 deletion Dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ FROM node:18-alpine
WORKDIR /app

COPY package*.json ./
RUN npm install
RUN npm install -g ts-node-dev
RUN npm install --prefer-dedupe

COPY ./ ./
RUN npm run build
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ USER node

COPY --chown=node:node package.json ./

RUN npm install
RUN npm install --prefer-dedupe
COPY --chown=node:node . .
RUN npm run build
EXPOSE 8080
Expand Down

0 comments on commit 645f766

Please sign in to comment.