clean using es6

This commit is contained in:
sbriat
2023-05-05 16:56:30 +02:00
parent 0ca7a4d65e
commit f430a4bfb6
28 changed files with 484 additions and 320 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 . .