-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Turn dockerfile into a multi-stage build
Using a multi-stage build reduces the image size from 1.23GB to 331MB which means that any node running doccano can now start-up faster. Additionally, the multi-stage build means that we no longer include development tools like node or gcc in the production image which reduces the attack surface of the image.
- Loading branch information
Showing
1 changed file
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters