Check if /app exists before editing .dockerfile.