clean using es6

This commit is contained in:
sbriat
2023-05-05 16:39:28 +02:00
parent 15e0e32e2e
commit 68d37ba2cc
31 changed files with 214 additions and 208 deletions

View File

@@ -12,8 +12,12 @@ WORKDIR /usr/src/app
# Copying this first prevents re-running npm install on every code change.
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`
RUN npm ci
RUN npx prisma generate
# Bundle app source
COPY --chown=node:node . .