Skip to content

Commit

Permalink
fix: Update lock and docker (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
fzavalia authored Apr 4, 2024
1 parent 1513778 commit 85d5590
Show file tree
Hide file tree
Showing 2 changed files with 95 additions and 13 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ RUN apk add --no-cache py3-setuptools python3-dev build-base
# install dependencies
COPY package.json /app/package.json
COPY package-lock.json /app/package-lock.json
RUN npm install
RUN npm ci

# build the app
COPY . /app
RUN npm run build
RUN npm run test

# remove devDependencies, keep only used dependencies
RUN npm install --only=production
RUN npm ci --only=production

FROM node:20-alpine

Expand Down
104 changes: 93 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 85d5590

Please sign in to comment.