Optimized dockerfile