From 99c6f22d7a3450d5b5113a02ef7fb885b6ca2316 Mon Sep 17 00:00:00 2001 From: William Sawyer Date: Fri, 19 Jan 2024 11:57:19 +1000 Subject: [PATCH] Ensure all source files are compiled --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 285e4bc..7a3af6e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM public.ecr.aws/lambda/nodejs:20 as build-image WORKDIR /usr/app COPY package.json package-lock.json tsconfig.json ./ -COPY src/index.ts ./src/ +COPY src ./src RUN npm clean-install RUN npm run build