Add tsconfig to COPY

This commit is contained in:
Aswin V 2021-12-31 14:17:54 +05:30
parent 0f91d962be
commit 16c1e79143
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ FROM node:16.13.1-alpine3.14 AS deps
RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY src/ src/
COPY package.json package-lock.json ./
COPY package.json package-lock.json tsconfig*.json ./
RUN npm ci --only=production
# Production image, copy all the files and run next