mozilla / fxa-oauth-server

OAuth server for Firefox Accounts
49 stars 40 forks source link

Dockerpush fix docker use base builder run npm ls production #579

Closed jrgm closed 6 years ago

jrgm commented 6 years ago

This is similar to mozilla/fxa-profile-server#330. It builds from a base image that has tools that can build binary node extensions, and secondly, checks the install with npm install --production.

The net gain is 3MB from the production image. (A --squash would recoup about 8MB from that image, but not bothering with --squash in this PR).

r? - @vladikoff