Add npm run build to docker build
Some checks are pending
Build and Publish Docker Image / build-publish (push) Waiting to run

This commit is contained in:
mrjvs 2025-03-24 14:55:45 +01:00
parent b40db00802
commit 3a5eca3c3d

View File

@ -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", "."]