Dockerfile optimization