Sunday 23 February 2020

How to test typescript code inside docker

So, i write in typescript, and i have dockerfile, where i have multi-stage build, one stage is where i build my typescript code, and second stage is where i copy that built code and run my application. i have tests up and running, one problem is that i only tested in development environment. but i want to change that. so how would i do that? should i test my code before building, and if it passes, then build and move to second stage? obviously i would do something like that with CI provider.. or is there any other approach to this?

Submitted February 23, 2020 at 10:24AM by warchild4l

No comments:

Post a Comment