Merge branch 'matcherEngine' into 'main'

change dockerfile

See merge request v3/service/matcher!3
This commit is contained in:
Sylvain Briat 2023-04-24 11:53:42 +00:00
commit 9e11f2424b
1 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,9 @@ WORKDIR /usr/src/app
# Copying this first prevents re-running npm install on every code change. # Copying this first prevents re-running npm install on every code change.
COPY --chown=node:node package*.json ./ COPY --chown=node:node package*.json ./
# Copy prisma (needed for prisma error types)
COPY --chown=node:node ./prisma prisma
# Install app dependencies using the `npm ci` command instead of `npm install` # Install app dependencies using the `npm ci` command instead of `npm install`
RUN npm ci RUN npm ci
RUN npx prisma generate RUN npx prisma generate