From 3a5eca3c3da9c47e4fb53658021864891fc528bb Mon Sep 17 00:00:00 2001 From: mrjvs Date: Mon, 24 Mar 2025 14:55:45 +0100 Subject: [PATCH] Add `npm run build` to docker build --- Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index b72d258..98cc289 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,8 +27,8 @@ RUN --mount=type=bind,source=package.json,target=package.json \ npm ci COPY . . -# TODO: re-enable after TypeScript migration -#RUN npm run build + +RUN npm run build # * Running the final application @@ -45,7 +45,4 @@ COPY package.json . COPY --from=dependencies ${app_dir}/node_modules ${app_dir}/node_modules COPY --from=build ${app_dir} ${app_dir} -# TODO: change back after TypeScript migration -#COPY --from=build ${app_dir}/dist ${app_dir}/dist - CMD ["node", "."]