You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add dockerfile for automated mentoring support (#12)
Fixes#7
Some info about the choices made:
* node version: lts
* decided to run the analyzer as an unprivileged user
* apk update to make the build with the latest dependencies and security fixes
* two phase build, copying node_modules after yarn install --prod, to keep only runtime needed dependencies
* Added certificates because it couldn't be bad
* I changed /bin/bash to /bin/sh in the analyze.sh file since bash is not present in linux-alpine, probably it could be #!/usr/bin/env sh
0 commit comments