Added middleware for docker.

This commit is contained in:
Mike Cao 2023-04-19 08:49:16 -07:00
parent 3eabe9b958
commit ac8d8bbd1e
4 changed files with 59 additions and 1 deletions

View file

@ -12,6 +12,7 @@ RUN yarn install --frozen-lockfile
FROM node:18-alpine AS builder
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY docker/middleware.js .
COPY . .
ARG DATABASE_TYPE