From 0f9a1c36f5178f6236bc7881209b19e89d936536 Mon Sep 17 00:00:00 2001 From: Max Schmidt Date: Sat, 17 Jun 2023 12:41:31 +0200 Subject: [PATCH] Add tsconfig.json to production container --- payload/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/payload/Dockerfile b/payload/Dockerfile index bedb17f..914f776 100644 --- a/payload/Dockerfile +++ b/payload/Dockerfile @@ -21,6 +21,8 @@ ENV NODE_ENV=production WORKDIR /prod COPY package*.json . RUN yarn install --production + +COPY --from=build /build/tsconfig.json ./tsconfig.json COPY --from=build /build/dist ./dist COPY --from=build /build/build ./build EXPOSE 3000