Build a production image for a small TypeScript API. The build output is created under dist/, and the runtime container runs that output. What to do: complete Dockerfile. Note: build with npm run build and run with node dist/server.js.
Configure a production image for a small compiled service by separating the build step from the run step.
Production images should distinguish tools needed to create output from files needed to run the service.