
Move package installation to top of file to enable layer caching in Docker. Use multi stage builds to reduce final image size. Ignore everything but essential files when creating Docker build context.
6 lines
56 B
Text
6 lines
56 B
Text
*
|
|
!src
|
|
!public
|
|
!package.json
|
|
!package-lock.json
|
|
!run.sh
|